MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Static content gets downloaded even after expiry set to access + 1 month
Current time: 03-09-2021, 03:46 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Static content gets downloaded even after expiry set to access + 1 month
07-28-2011, 11:32 PM
Post: #1
Static content gets downloaded even after expiry set to access + 1 month
If I access my web application with primed cached then am able to only see dynamic hits. But when I close my browser and access the same application again, static as well as dynamic hits are made to the server. I am wondering why the static requests were made to server and not served from browser cache. Any help would be appreciated.
Following is my Apache settings and am using IE 7, Firefox 3.6.5 for my tests.

Header unset ETag
Header unset Last-Modified
FileETag None

ExpiresActive ON
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Static content gets downloaded even after expiry set to access + 1 month - sachy78 - 07-28-2011 11:32 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)