Title: 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

Reply via email to