I’ve got a Google webmaster’s report which lists several of the files used by my WordPress theme (.gifs, .pngs, .jpgs and .css) under a heading:
“The following cacheable resources have a short freshness lifetime. Specify and expiration at least one week in the future…”
I knew that you could specify a cache expiration as a meta attribute of a page. How can you do it in a specific file?
Since I’m using WordPress, which has an htaccess file, I’d imagine I might be able to place a few rules in there relative to global file cache settings by file type. What are your thoughts?