Re: [css-d] CSS Browser Cache?

2006-05-26 Thread Brett Leber
On 5/26/2006 4:13 PM, Jan Brasna wrote:
>>> Eg. by adding a "timestamp" to the stylesheet's URI:
>>>
>>> > 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/


Re: [css-d] CSS Browser Cache?

2006-05-26 Thread Jan Brasna
>> Eg. by adding a "timestamp" to the stylesheet's URI:
>>
>>  
> 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.

-- 
Jan Brasna :: www.alphanumeric.cz | www.janbrasna.com | www.wdnews.net
__
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/


Re: [css-d] CSS Browser Cache?

2006-05-26 Thread cj
does the forced refresh help at all?  (holding down control while
hitting f5 or the refresh button)
__
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/


Re: [css-d] CSS Browser Cache?

2006-05-26 Thread Brett Leber
On 5/26/2006 3:51 PM, Jan Brasna wrote:
> Eg. by adding a "timestamp" to the stylesheet's URI:
> 
> 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/


Re: [css-d] CSS Browser Cache?

2006-05-26 Thread Jan Brasna
Eg. by adding a "timestamp" to the stylesheet's URI:

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/


[css-d] CSS Browser Cache?

2006-05-26 Thread xtiandc
When I'm developing a site, I make frequent changes to a master CSS file. I am 
dealing with some dynamic content, so I must upload and develop on a live 
server/staging area. My question is: how do I ensure that the browsers I am 
using will display my site using the latest edits from the CSS file? That is, 
is there a way to force the major browsers to reload a fresh CSS with each 
refresh? This can be quite vexing...

Thanks!
Christian.

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
__
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/