Current time: 02-29-2020, 02:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache static
06-22-2011, 11:51 AM (This post was last modified: 06-22-2011 11:53 AM by Bushido.)
Post: #10
RE: Cache static
Fear not, the latest implementation of IE gets vary encoding right. That doesn't help with older versions though so there is a better overall method, filematch for images (since only image vary throws off IE).

<FilesMatch "\.(jpg|jpeg|png|gif|ico)$">
Header set Cache-Control "max-age=31530000"
Header unset Vary
Header unset ETag
FileETag None
</FilesMatch>

And yes, Godaddy shared will allow you to make this work in .htaccess. I see negative threads from frustrated webmasters all over about them so I figured they deserve credit for getting it right, sometimes :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cache static - terko - 11-23-2010, 12:05 AM
RE: Cache static - pmeenan - 11-23-2010, 12:21 AM
RE: Cache static - terko - 11-23-2010, 12:44 AM
RE: Cache static - pmeenan - 11-23-2010, 01:20 AM
RE: Cache static - terko - 11-23-2010, 03:04 AM
RE: Cache static - sajal - 11-23-2010, 07:30 AM
RE: Cache static - p83822 - 11-23-2010, 10:28 AM
RE: Cache static - pmeenan - 11-23-2010, 03:59 AM
RE: Cache static - terko - 11-23-2010, 10:21 PM
RE: Cache static - Bushido - 06-22-2011 11:51 AM

Forum Jump:


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