Yes but it requires the client checking. By increasing cacheing time, the client does not check.
On Feb 11, 12:11 am, Jonathan Lundell <[email protected]> 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 right thing via last-modified, etc? > > > > > 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 <[email protected]> wrote: > >> how can I set the cache expiration time for my static files? In my > >> case they are not going to change so I want to set in far in the > >> future. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

