How to correctly cache images

Posted by James Simpson on Stack Overflow See other posts from Stack Overflow or by James Simpson
Published on 2010-06-06T15:52:24Z Indexed on 2010/06/06 16:02 UTC
Read the original article Hit count: 275

I just installed Google's Page Speed plugin to Firebug, and everything looks good except for caching. I have set headers to cache my JS and CSS files, but it says the images aren't being cached. How can I make sure the images get cached for 30 days? These are static images, so I can't just add the headers with PHP like I did with the other files.

© Stack Overflow or respective owner

Related posts about image

Related posts about optimization