Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Cache Expiration for Dummies (me)

I do not understand what google wants me to do about cache expiration

6:08 pm on Mar 11, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 2, 2003
posts: 45
votes: 0


So, I have a client that is suddenly panicked about site speed (a whole 'nother discussion, there). But, FireFox's google pagespeed tool is telling me something about "The following resources are missing a cache expiration."

Where do I set this "cache expiration" - is it something my host sets in apache? Or in the individual page headers? Or in the img tag?

Sorry... I have no idea where to start.

8:08 pm on Mar 14, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

See Apache mod_expires documentation, or set the "Expires" headers using php if the site is dynamically-generated.

In addition, you may wish to investigate the HTTP Cache-Control and Etag headers and their values, as they tie in with the Expires header to affect client-side caching behaviour.