On Monday, February 13, 2012 5:40:53 AM UTC-5, Rahul wrote: > > Hi All, > I am using the below statement to serialize images in my view > - > {{=TAG.img(_width=25, _height=30, _src=URL(r=request, c='default', > f='download', args=[adminupdate.profile_pic]))}} >
Maybe something like: {{=TAG.img(_width=25, _height=30, _src=URL(r=request, c='default', f='download', args=[adminupdate.profile_pic], vars=dict(cache=True)))}} def download(): if 'cache' in request.vars: response.headers['Cache-Control'] = 'max-age=3600' response.download(request, db) Anthony