Hi, I've tried changing client side caching headers expires or cache-control value (from 10mns by default?), running the code below from the corresponding controller, but the values are unaffected.
import datetime expires = datetime.datetime.now()+datetime.timedelta(0,365*24*3600) # ex: Fri, 01 Jan 1990 00:00:00 GMT response.headers['Expires'] = expires.strftime("%a, %d %b %Y %H:%M:%S GMT") response.headers['Cache-Control'] = 'public,max-age:%i,must-revalidate' % (365*24*3600) How should this be done? Thanks -molhokwai -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.