Using a controller to manage static resources
If you’re like me, you’re more or less addicted to YSlow and getting the best performance for your web applications whenever you can. One challenge is to address multiple YSlow recommendations at the same time, particularly when it asks you to compress the content sent to clients, and in the same breath asks that ETags are used to avoid resending cached content for particular resources. In this excellent overview of some of the pitfalls of using ETags, you’ll learn that if you try to base your ETag value on compressed content, the timestamp-based format of that content will cause a new…
Continue reading "Using a controller to manage static resources" »


Socialized