You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nanda Mounasamy <nm...@poweronemedia.com> on 2002/02/04 17:51:58 UTC
cocoon cache
S/W - Cocoon 1.8.2
Cocoon 1.8.2 does not seem to cache pages when request uri does not match
the document loaded.
Eg
URI Document Loaded Cache Status
-------------------------------------------------------
/webapp/a.xml DocRoot/webapp/a.xml Cached
/webapp/X1/a.xml DocRoot/myDir/a.xml Not Cached
/webapp/X2/a.xml DocRoot/myDir/a.xml Not Cached
/webapp/X2/a.xml DocRoot/X2/a.xml Cached
I am using a custom producer to load a single document for several different
URIs. This producer has the following lines to cache the documents.
this.monitor.watch(this.encode(request, false, true), new File(file));
encode method uses standard data (browser, request, query string, server
name etc) to generate the cache key.
But for some reason, these pages are not cached.
I am wondering if i could get some help from already experienced users.
Thanks
Nanda