Configuring favicon with expires header in htaccess

Posted by thehuby on Server Fault See other posts from Server Fault or by thehuby
Published on 2009-11-18T22:58:34Z Indexed on 2012/06/10 22:42 UTC
Read the original article Hit count: 295

Filed under:
|
|
|
|

I have implemented Expires headers via mod_expires on my Apache server and have successfully created expires headers for most file types, however I am having trouble with the favicon.

I initially tried adding a set of instructions for the .ico files but when checking via YSlow it has no expiry set.

When this didn't work I amended it to be a GIF, however this seems to have the same issue.

Other gif's on the website have correctly set expires headers (accoridng to YSlow at least).

Can anyone shed any light on this situation?

© Server Fault or respective owner

Related posts about .htaccess

Related posts about expires