You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2004/09/16 13:28:29 UTC

Caching of HTML within default publication implemented

FYI:

Pages of the default publication (of the HEAD/trunk version) are now 
being cached within the directory:

 @WEBAPP-DIR@/lenya/pubs/default/work/cache/live

If a file exists within this directory then it's being read
by <map:read .../> instead being generated from scratch.

When a document is being  published then this caching directory is being 
deleted (kind of brute force ;-)

In order to achieve this the following files have been modified:

default/publication-sitemap.xmap
config/tasks/tasks.xconf
config/tasks/targets.xml

This should be another speedup :-)

If everyone is happy with it, then we can backport it to the 1.2 branch.

Michi

Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org