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

Jean-Paul Calderone exarkun at divmod.com
Tue Sep 16 09:49:51 EDT 2008

On Tue, 16 Sep 2008 09:23:05 +0200, Werner Thie <wthie at thiengineering.ch> wrote:
>Jean-Paul Calderone wrote:
>>On Sat, 13 Sep 2008 10:00:24 +0200, lasizoillo <lasizoillo at gmail.com> 
>>>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 
>>>>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
>>>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.
>>Athena effectively does this automatically.  If JavaScript source files
>>are changing but the browser isn't requesting the new versions, then
>>there's a bug somewhere that needs to be fixed.
>If JScript code is brought to the page via the javaScript classvar
>class LP(athena.Livepage):
>   javaScript = ('scripts/somescripts.js, 'scripts/otherscripts.js')

`javaScript`?  I don't know what that is - it's not a feature provided
by Athena.


More information about the Twisted-web mailing list