[web2py] Re: set static file caching policy

2010-02-11 Thread mdipierro
Yes but it requires the client checking. By increasing cacheing time, the client does not check. On Feb 11, 12:11 am, Jonathan Lundell wrote: > On Feb 10, 2010, at 9:21 PM, mdipierro wrote: > > > You cannot unless you create your own action to server them: > > Doesn't streamer already do the rig

Re: [web2py] Re: set static file caching policy

2010-02-10 Thread Jonathan Lundell
On Feb 10, 2010, at 9:21 PM, mdipierro wrote: > You cannot unless you create your own action to server them: Doesn't streamer already do the right thing via last-modified, etc? > > def server(): >import os >response.headers['cache-expiration']='' >return > response.stream(os.pat

[web2py] Re: set static file caching policy

2010-02-10 Thread mdipierro
You cannot unless you create your own action to server them: def server(): import os response.headers['cache-expiration']='' return response.stream(os.path.join(request.folder,'static','/'.join(request.args On Feb 10, 11:00 pm, Richard wrote: > how can I set the cache expirat