6

Do you use these? If so, what strategies do you have for managing changes to the files?

http://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html

theotherreceive
  • 265
  • 3
  • 6

1 Answers1

4

I'm using a small script combined with a .htaccess rule. Basically, the script takes the file modification timestamp and adds it to it's name (in the web page), while the .htaccess rule redirects the file with the timestamp in the name to the corresponding file from the hdd.

I took this from the Particletree blog, here: http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/

It works perfectly for me.

Alex
  • 1,023
  • 1
  • 11
  • 21