Jörn Nettingsmeier wrote:

hi everyone!


from pubs/default/sitemap.xmap:

<map:select type="resource-exists">
  <!-- Read from cache -->
<!-- If configured within Apache then mod_lenya will nevertheless read from cache -->
  <map:when
test="context:/lenya/pubs/{page-envelope:publication-id}/{global:cache-dir}/{../../1}/{../../2}.htmlDISABLED">
    <map:read
src="context:/lenya/pubs/{page-envelope:publication-id}/{global:cache-dir}/{../../1}/{../../2}.html"
    mime-type="text-html"
    />
  </map:when>

gives rise to a number of questions:

a) what is mod_lenya?


have you read the README?

http://svn.apache.org/repos/asf/lenya/sandbox/mod_lenya/README.txt

especially section 3, but I guess a dedicated "About" section would help

b) why do we code our own caching mechanism rather than relying on ehcache?


static "export" is the most stable and most simple reusable cache that I know ;-)

c) why is this lenya-specific caching mechanism disabled?


because it requires invalidating the cache and IIRC correctly the coupling to
the publishing process has not been finished, but people rather coupled it
to some shell scripts when syncing with some other servers, but I might be wrong
on this


depending on the answers to a) through c), there's question

d) can we just chuck this out?


with the current performance issues I would rather leave it as a very reliable alternative.

Cheers

Michael



comments appreciated,

jörn





--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to