Hi, Clayton, see interspersed comments.

Clayton wrote:
The result is still the same - which makes sense when you consider that
this isn't doing anything different except calling the code from a
different spot.... the Main page loads very very slowly (even slower if
you are saving an edit).

According to the manual [1], what we probably need is a 24-hour cache
specification in the DPL parameters.
[1] http://semeb.com/dpldemo/DPL:Manual
(very last two params on the page).

Well spotted :-) I hadn't poked the dpl docs yet... sidetracked on other
stuff.

The helpful stuff you put on the Version special page led me right to it.

I added a 10 minute dpl cache to the data and now the page loads as fast
as any other Wiki page.  The cache time can be tweaked if we need to.
I'm guessing that 10 minutes is more than enough to limit the load on
the server.

I'm more worried about the poor user who gets hit with the cache refresh. It's a sizable wait time. That's why I suggest 3600 at least.

So, I've returned the Main page:
http://wiki.services.openoffice.org/wiki/Main_Page
back to it's original content, pointing at:
http://wiki.services.openoffice.org/wiki/Template:TopTenViews

One new page was created when I added the dplcache:
http://wiki.services.openoffice.org/wiki/Template:Extension_DPL_cache
This page just contains the text that shows that the data is cached...
we could leave it blank, or with the text I dropped into it in the
testing (now it's: Cached data (10 minute refresh) )

Oh, this absolutely /cries/ for a fancy template, with the "expires" value as a parameter :-) Have to translate seconds into minutes or hours ...Hmmm... I'll think about it.


C.
--
/tj/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org
For additional commands, e-mail: dev-h...@website.openoffice.org

Reply via email to