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 <[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.