Yes, it solves the problem.
I can generate a random string after 'home.css?'.
And what about change the default cache age by adding in response
'Cache-Control: max-age = 10', for example.

Regards,
Aleksey

2010/9/1 Koen Deforche <[email protected]>:
> Hey Aleksey,
>
> 2010/9/1 Aleksey Chirkin <[email protected]>:
>> Hello!
>>
>> I noticed a strange delay in updating css files in some browsers. Any
>> changes to the css not visible for a long time in Safari, IE. Very
>> strange, but in Firefox everything is working correctly.
>>
>> Maybe I can set the time of updating static resources?
>
> This is because of caching. The classical solution is to append a '?'
> argument that indicates a version somehow which you bump every time
> you make a change.
>
> e.g. useStyleSheet("home.css?version=10");
>
> Regards,
> koen
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to