Add Expires Headers for Specific Images

Posted by j-man86 on Stack Overflow See other posts from Stack Overflow or by j-man86
Published on 2010-03-24T15:08:09Z Indexed on 2010/06/07 17:02 UTC
Read the original article Hit count: 435

Filed under:
|
|

All of the expires headers articles I've looked at give more or less the following solution:

ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000

But it doesn't make sense to me because I know which of my images are going to change and which aren't, so I want to be able to add specific expiration dates to specific image files. How would I go about this?

Thanks!

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about expires