[Twisted-web] .js File caching behavior on different browsers

Werner Thie wthie at thiengineering.ch
Sat Sep 13 04:51:35 EDT 2008


Thxs, although I thought about doing that it is so against all 
versioning and release practices and only brings up a burp from the 
seventies :-((

Thxs, Werner

lasizoillo wrote:
> 2008/9/13 Werner Thie <wthie at thiengineering.ch>:
>> Hi all
>>
>> Tried to send this to divmod-dev at divmod.org, but post didn't show up after
>> 12hours.
>>
>> Might be an insanly stupid question but, is there a simple way to force
>> the reload of JScript code for nevow LivePages via a server issued
>> directive?
> 
> I never expire a javascript file, I change his url. If I have a
> script.js file, I import script.js?v=1, script.js?v=2, ... This force
> a client reload only with new deploys.
> 
>> I ask because Firefox seems to cling to the JScript files until the user
>> forces it to forget them with 'Clear Private Data', which leads to ugly
>> mismatches between server and client side code.
>>
>> Thxs, Werner
>>
>>
>> _______________________________________________
>> Twisted-web mailing list
>> Twisted-web at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
>>
> 
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web



More information about the Twisted-web mailing list