Current time: 11-14-2019, 05:24 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, 02:55 AM
Post: #12
RE: Hostgator and Compression
(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

Tom Naff
[url=http://www.naffs-kingdom-cat-shop.com]Naffs-Kingdom-Cat-Shop.com[/url]
[url=http://www.dog-beds-house.com]Dog-Beds-House.com[/url]
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)