Hi,
I am surprised I didn't find a post on slow downloads, but perhaps
it's only so bad because my internet connection is terribly slow.
def download():
"""
allows downloading of uploaded files
http://..../[app]/default/download/[filename]
"""
return response.download(request,db)
I am just building an auction site and have around 10 pictures on a
page - uploaded by users. On refresh all of them reload (line by line,
as in the old days). Can I tell the browser to cache them?
Without looking at the source I tried a cache decorator (in disk-
caching mode), assuming that it might tell the browser, but actually
ended up having to restart apache (mod_wsgi).
Regards,
HC
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---