Current time: 11-14-2019, 06:15 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hostgator and Compression
06-26-2010, 03:01 AM
Post: #13
RE: Hostgator and Compression
(06-26-2010 02:55 AM)deking Wrote:  
(06-14-2010 10:15 PM)Dayton Wilks Wrote:  This is what I have Graham
Header unset ETag
<FilesMatch "\.(gif|png|jpg|jpeg|js|swf|bmp|ico)$">
ExpiresActive On
ExpiresDefault "access plus 2 years"
Header set Cache-Control "public, no-transform"
</FilesMatch>

<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresActive On
ExpiresDefault "access plus 2 months"
Header set Cache-Control "public, no-transform"
</FilesMatch>

Hello Dayton. I inserted your code into my .htaccess file and, while it didn't do anything for my "NoEtags" score...it worked wonders for my "Cache Static Content" score. I thank you for the code.

Tom

Unless you're running a multi-server load balanced site (which you aren't on shared hosting) I wouldn't worry about looking at the ETags at all. It is only a potential problem for multi-server installs (not sure I even want to continue checking for it which is why it is not exposed in the main grades).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Hostgator and Compression - grahamginsberg - 06-10-2010, 10:03 PM
RE: Hostgator and Compression - pmeenan - 06-10-2010, 11:47 PM
RE: Hostgator and Compression - deking - 06-26-2010, 06:43 AM
RE: Hostgator and Compression - deking - 06-26-2010, 07:56 AM
RE: Hostgator and Compression - pmeenan - 06-11-2010, 10:24 PM
RE: Hostgator and Compression - pmeenan - 06-12-2010, 01:30 AM
RE: Hostgator and Compression - pmeenan - 06-12-2010, 04:49 AM
RE: Hostgator and Compression - deking - 06-26-2010, 02:55 AM
RE: Hostgator and Compression - pmeenan - 06-26-2010 03:01 AM
RE: Hostgator and Compression - pmeenan - 06-26-2010, 12:46 PM
RE: Hostgator and Compression - deking - 06-29-2010, 03:31 AM
RE: Hostgator and Compression - Marlon - 08-09-2010, 03:10 AM
RE: Hostgator and Compression - pmeenan - 08-09-2010, 04:38 AM
RE: Hostgator and Compression - Marlon - 08-09-2010, 07:37 AM
RE: Hostgator and Compression - pmeenan - 08-09-2010, 08:42 AM
RE: Hostgator and Compression - Marlon - 08-09-2010, 09:16 AM
RE: Hostgator and Compression - pmeenan - 07-15-2011, 02:16 AM
RE: Hostgator and Compression - pmeenan - 07-15-2011, 05:58 AM

Forum Jump:


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