Requesting better explanation for etag/expiration of favicon.ico
- by syn4k
Following this article: Configuring favicon with expires header in htaccess
Using YSlow, I keep getting:
(no expires) http://devwww.someplace.com/favicon.ico
Also, YSlow indicates:
Grade C on Configure entity tags (ETags)
for the same file.
My relevant config (.htaccess):
# Configure ETags
FileETag MTime Size
<IfModule mod_expires.c>
# Enable Expires Headers for this directory and sub directories that don't override it
ExpiresActive on
# Set default expiration for all files
ExpiresDefault "access plus 24 hours"
# Add Proper MIME-Type for Favicon
AddType image/x-icon .ico
# Set specific expriation by file type
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType image/ico "access plus 1 month"
ExpiresByType image/icon "access plus 1 month"
</IfModule>
As you can see, I am setting both, etags and expiration however, both seem to be ignored.
Yes, mod_expires is being loaded by my Apache configuration.