Package gavo :: Package web :: Module caching
[frames] | no frames]

Module caching

source code

A simple caching system for nevow pages.

The basic idea is to monkeypatch the request object in order to snarf content and headers.

Classes
  CacheItemBuilder
an aggregator for web pages as they are written.
  CachedPage
A piece of cached content.
Functions
 
instrumentRequestForCaching(request, finishAction)
changes request such that finishAction is called with the request and the content written for a successful page render.
source code
 
enterIntoCacheAs(key, destDict)
returns a finishAction that enters a page into destDict under key.
source code
Variables
  __package__ = 'gavo.web'