> One of the problems we get is release major updates to our new > website (once every 3 months), recent visitors who come back to the > website use their disk-cached css file and only after a reload does > the page in order to cache the new css file.
Hi, I've come across this problem from time to time and its not straightforward. Setting cache-times wasn't an option for me because I didn't know in advance when the CSS files would change. The best solution I came up with was to encode the version information in the filename. As I use CVS for all my code, it was relatively easy to make this automatic - when the CSS file revision was updated the <link /> href was updated similarly. But theres a much more simple solution I think : <link rel='stylesheet' href='style.css?date=01102005' type='text/css' /> The css wouldn't have to be dynamic or anything, but the change in url would force the user agent to get the new file. Just an idea Sam ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/