On 5/26/2006 4:13 PM, Jan Brasna wrote:
>>> Eg. by adding a "timestamp" to the stylesheet's URI:
>>>
>>> <link href="style.css?20060526T2150" ...
>> Could you expand on this, or link to an article that explains why this 
>> works? I'm not familiar with the '?' suffix (unless we're using PHP, of 
>> course). Is it standard?
> 
> Brett, "?" is not a suffix. It's a query-string separator, see 
> appropriate RFCs on this. It's the same as the PHP mentioned by you - 
> the file requested is the "style.css" with the parameter. However, as 
> long as it's just a vanilla CSS, the parameter is simply discarded. For 
> the server. Not for the client - different parameter, different cache, 
> different request. So when you change the parameter, the browser 
> requests the fresh version.

Thanks for the clarification. Nifty, useful trick ;) I think I'd heard 
of it before, but had no idea why it worked.

Thanks,

Brett
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to