<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Are other pages being HTML-cached, and it's just the pagelist<br>page that isn't?
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">AFAICT the output of pagelist should be HTML-cached, but it's<br>entirely possible I'm overlooking something. I'll check into it
<br>a bit more...</blockquote><div><br>Indeed. I see many other pages in the $PageCacheDir, but not the ones with the long pagelists (these pages contain nothing more than one (:pagelist:) markup. Should they contain something more to trigger the caching mechanism ?
<br></div><div><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So, in the next release of PmWiki you'll end up saving 0.89
seconds<br>here. :-)</blockquote><div><br>Every little bit helps ;-)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also, is it necessary to display all of the records in the
<br>output? If you can get away with displaying only the first<br>100 or 1000, you'd probably save a ton of time.</blockquote><div><br><br>No, that's why I was asking for recomendations about pagelist pagination.
<br><br>I would like to display pages of say 30 entries and provide "previous" and "next" links so that the users can navigate through the whole "resultset".<br><br>Hans just published a very useful recipe (breakpagelist) which makes a giant step in that direction. I just still need to figure out how to make the "previous" and "next" links.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Lastly, if you can post a copy of the pagelist template you're<br>using, I might be able to find some optimizations there.
</blockquote><div><br>Here it is. The site is multilingual and the two last characters of $Group are the language code (design made before PageText variables were available ;-) ).<br><br>[[#RCB_city]]<br>(:template first:)
<br>(:table cellspacing=5 cellpadding=5:)<br>(:template each:)<br>(:cellnr width=15%:)[[{=$Group}/{=$Name}?language={(substr {$Group} -2 2)}|{=$:class_number}]]<br>(:cell:)'''{=$:_city}'''<br>(:cell:){=$:title}\\
<br>''({=$:year_of_publication}, {=$:_city})''<br>(:template last:)<br>(:tableend:)<br>[[#RCB_cityend]]<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks!<br>Pm</blockquote><div><br><br>Thank YOU ! ;-)<br><br>Christophe<br></div><br></div><br>