Are other pages being HTML-cached, and it's just the pagelist
page that isn't?

AFAICT the output of pagelist should be HTML-cached, but it's
entirely possible I'm overlooking something.  I'll check into it
a bit more...


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
?


So, in the next release of PmWiki you'll end up saving 0.89 seconds
here.  :-)


Every little bit helps ;-)


Also, is it necessary to display all of the records in the
output?  If you can get away with displaying only the first
100 or 1000, you'd probably save a ton of time.



No, that's why I was asking for recomendations about pagelist pagination.

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".

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.


Lastly, if you can post a copy of the pagelist template you're
using, I might be able to find some optimizations there.


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
;-) ).

[[#RCB_city]]
(:template first:)
(:table cellspacing=5 cellpadding=5:)
(:template each:)
(:cellnr width=15%:)[[{=$Group}/{=$Name}?language={(substr {$Group} -2
2)}|{=$:class_number}]]
(:cell:)'''{=$:_city}'''
(:cell:){=$:title}\\
''({=$:year_of_publication}, {=$:_city})''
(:template last:)
(:tableend:)
[[#RCB_cityend]]


Thanks!
Pm



Thank  YOU !  ;-)

Christophe
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to