Vadim Gritsenko wrote:
> Hi guys,
>
> I took some time to test what we have... Found several showstoppers:
...
> 5) Cacheable XSP is *painfully* slow! It takes 2 seconds per request!!!
> Click on "http://localhost:8888/samples/xsp/java/cacheable?pageKey=one",
> then on "http://localhost:8888/samples/xsp/java/cacheable?pageKey=two",
> repeat.
> INFO (2004-02-07) 08:44.34:892 [access]
> (/samples/xsp/java/cacheable) PoolThread-4/CocoonServlet:
> 'samples/xsp/java/cacheable' Processed by Apache Cocoon 2.1.4-dev in
> 2.043 seconds.
> INFO (2004-02-07) 08:44.41:882 [access]
> (/samples/xsp/java/cacheable) PoolThread-4/CocoonServlet:
> 'samples/xsp/java/cacheable' Processed by Apache Cocoon 2.1.4-dev in
> 2.033 seconds.
> But, if you access same pageKey, response coming back fast.
Um, isn't that because the xsp intentionally sleeps for 2 seconds so you
can observe the effect of the caching? It says it is doing so right on
the page last time I looked.
Geoff
|