Tobias Herp wrote at 2003-10-22 15:43 +0200:
I have a Python product which features a __before_publishing_traverse__ method, setting some REQUEST variables and in turn deleting the optional "([language],[template])" path element. Now I'd like to get the Cache Manager to cache these http://the.domain/path/to/site/(en,default)/home etc. pages (and, of course, appropriate versions of http://the.domain/path/to/site/(en,default)/site.css etc as well).
However, when I create a RAM Cache Manager in the site object, this won't use these virtual paths (with "(en,default)" just behind the site object) but the physical ones. Is it possible to tell the Cache Manager to cache just every request to a page object, preserving the given path?
The objects are themselve responsible for caching. Thus, your objects should be able to override the "ZCachable" methods to do what you want. Dieter