[mod_python] Caching pages

Damjan Georgievski gdamjan at gmail.com
Sat Oct 28 21:29:16 EDT 2006


> Is there a builtin interface in mod_python that would allow for caching a
> generated page? Using Sessions doesn't work because I want the cache to be
> for every user who accesses the page. I tried using Session.Session(req, '0'
> * 32), but that didn't seem to work. I've looked at mod_python.cache, but
> there doesn't seem to be any documentation.

You could also use WSGI caching middleware... there are several
implementations for it.
http://cheeseshop.python.org/pypi/wsgistate/ for example.

http://wsgi.org/wsgi/Middleware_and_Utilities


ps.
CAN PLEASE THE ADMIN CONFIGURE THE LIST TO DEFAULT TO "REPLY TO LIST"
BEHAVIUOR?  *** PLEASE ***


More information about the Mod_python mailing list