Le Lundi, 9 f�v 2004, � 11:32 Europe/Zurich, Stuart Roebuck a �crit :

On 7 Feb 2004, at 2:36 pm, Geoff Howard wrote:

Vadim Gritsenko wrote:

Bertrand Delacretaz wrote:
Le Samedi, 7 f�v 2004, � 15:15 Europe/Zurich, Geoff Howard a �crit :

Vadim Gritsenko wrote:

5) Cacheable XSP is *painfully* slow! It takes 2 seconds per request!!!...

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.

Indeed, this is by design so one can easily tell whether the page is served from the cache or generated.
Good, then strike (5) from the list :-)

As long as I can take credit for "fixing" it!



Am I missing something here. I thought that logging was there to enable this kind of 'debugging' with the absolute minimum of time penalty. Using a two second delay in a production version as a 'hidden' way of communicating what's going on seems, to put it mildly, 'daft'.

Depends if you call samples "production stuff".


This delay is coded in the cacheable.xsp page, which is a sample page, and does not affect the rest of Cocoon in any way.

And it is clearly written on the page that this is so, so it is not hidden either. Maybe Vadim has seen the page so often that he didn't read it this time ;-)

-Bertrand

Reply via email to