Cache problem in web.py with wsgi and apache

58 views
Skip to first unread message

glancioni

unread,
Feb 8, 2012, 7:36:42 AM2/8/12
to web.py
I am using web.py under Apache with wsgi. Everything is amazingly
simple and works fine (I also managed to have a dbxml database work
fine and quick).

However, when I make some changes to the programs, browsers tend not
to load pages until their caches are discarded; I tried to use the
cache=None argument in render method, but in that case page loading
hangs up indefinitely. Strangely enough, no error message is recorded
in Apache error.log and apache2ctl fullstatus shows incoming
connections waiting.

Any idea about how to force browsers to reload pages if needed with
some other strategy? My configuration is Ubuntu 11.04, Apache 2.2.1.4,
Python 2.6.5, web.py 0.3.6, mod_wsgi 3.3.

Code strictly follows web.py site standards; sessions are loaded, but
not yet used; the only different aspect is the use of jQuery in
templates to apply ajax.

Thank you,

Giuliano Lancioni
Reply all
Reply to author
Forward
0 new messages