ETag vs Header Expires

I’ve looked around but haven’t been able to figure out if I should use both an ETag and an Expires Header or one or the other.

What I’m trying to do is make sure that my flash files (and other images and what not only get updated when there is a change to those files.

I don’t want to do anything special like changing the filename or putting some weird chars on the end of the url to make it not get cached.

Also, is there anything I need to do programatically on my end in my PHP scripts to support this or is it all Apache?

7 Answers
7

Leave a Comment