Current time: 08-09-2020, 06:56 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
From C F A F F F to A A A A A A in 6 weeks
03-23-2011, 11:29 AM
Post: #3
RE: From C F A F F F to A A A A A A in 6 weeks
Re: eTags. I'm not sure how to get rid of them. The following code is at the very top of my .htaccess file. I was under the impression that the bottom few lines of this code should take care of eTags, but WebPageTest still indicates eTags are present.

Code:
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType text/css "access plus 31536000 seconds"
ExpiresByType text/javascript "access plus 31536000 seconds"
ExpiresByType application/javascript "access plus 31536000 seconds"
ExpiresByType application/x-javascript "access plus 31536000 seconds"
ExpiresByType image/ico "access plus 31536000 seconds"
ExpiresByType image/gif "access plus 31536000 seconds"
ExpiresByType image/jpg "access plus 31536000 seconds"
ExpiresByType image/jpeg "access plus 31536000 seconds"
ExpiresByType image/png "access plus 31536000 seconds"
ExpiresByType image/bmp "access plus 31536000 seconds"
</ifModule>
<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=31536000, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=31536000, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>

Re: favicon.ico

Actually, believe it or not, but my original Favicon used to be 15K in size! It contained I think three different icon sizes. I only yesterday got around to quickly reduce it, but I think it still is over 1K. I will play with it a bit again to see if I can reduce it more.

I'm not sure if I have the caching if the favicon set right, as WebPageTest doesn't show this information for Favicons.

Thanks much for your feedback.

Marvin
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: From C F A F F F to A A A A A A in 6 weeks - Marvin - 03-23-2011 11:29 AM

Forum Jump:


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