Question

I set up cache-control and expires headers via .htaccess but already it doesn't load from browser cache. When I enter the URI, I am waiting for load from web site.

URI: http://www.btgmaslak.com/static/images/main_container_background_11.jpg

Was it helpful?

Solution

It works for me. The subsequent request is loaded from cache.

This is what you are sending down in the header:

Cache-Control: max-age=2592000
Expires: Tue, 29 Jun 2010 08:50:09 GMT
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top