That would fix it for the one system - but if you have site that is used by 
many, are you going to have everyone empty their cache? Isn't there a way 
to set the cache headers?

On Tuesday, May 8, 2012 10:34:30 AM UTC-7, Anthony wrote:
>
> It's probably being cached by the browser, so you may need to clear the 
> browser cache (simply refreshing the page won't do it).
>
> Anthony
>
> On Tuesday, May 8, 2012 1:11:51 PM UTC-4, monotasker wrote:
>>
>> I'm working on a js file that resides in appname/static/js/ but for some 
>> reason it seems to be cached. When I refresh the browser (even if I restart 
>> the local web2py server) the page continues to load an old version. I 
>> develop largely with custom modules, and those files are refreshing just 
>> fine. I have this in my db.py model file:
>>
>> from gluon.custom_import import track_changes
>> track_changes(True)
>>
>> But for some reason this javascript file doesn't want to refresh. Any 
>> suggestions?
>>
>> Ian
>>
>

Reply via email to