Hi Gary, been doing some more tests. I've noticed that that page has a call to the ReferringPagesPlugin, would you mind removing that line and seeing if that speeds up the page load? I've set up a page with the same wiki markup on a local wiki, and renders faster than what you're experiencing, about 300ms. The ReferringPagesPlugin relies on the ReferenceManager, which does a big amount of use of synchronized methods, so if you're having a lot of people coming in, it may slow down things. Also, I suspect that your cache may be full, so the page may getting re-rendered every time and again, affecting page load time.
regards, juan pablo On Thu, Dec 23, 2021 at 12:09 AM Juan Pablo Santos Rodríguez <juanpablo.san...@gmail.com> wrote: > > Hi Gary, > > Don't have the source in front of me right now, so mostly a hunch: looking at > your systeminfo page, cache hits vs misses is 5.4M vs 3.6M. That seems to me > like too many misses... > > Default cache configuration is for a thousand elements for each cache, so > given the amount of pages may be tweaking the cache configuration is the way > to go? > > Latest release allows to provide a custom ehcache file (please see changelog > file for details). If you're not on latest you'll have to manually edit the > file (IIRC, it is on the jspwiki-main jar, but I'm not completely sure right > now). > > > HTH, > juan pablo > > El mié., 22 dic. 2021 21:22, Gary Kephart <gary_keph...@pobox.com> escribió: >> >> >> I have a page that takes over 30 seconds to load. I've no doubt that >> this is due to the 2200+ page links it has in it. It seems as though >> there's still something that I could do to decrease that time. >> >> I have "jspwiki.usePageCache = true" in my jspwiki-custom.properties. >> >> I have tried to use ReferringPagesPlugin and tagging sets of the >> referenced pages together using categories, like "Category A Character" >> and "Category B Character". That would reduce the page to just 26 calls >> to the ReferringPagesPlugin. But when adding 3-4 of those, it seemed to >> make the page loading even longer. >> >> Here's the page: >> >> https://encyclopaedia-wot.org/Wiki.jsp?page=Characters%2C%20Aliases%20%26%20Nicknames >> >> >> Any ideas? >> >> >> Gary >> >> -- >> Gary Kephart >> Facebook: gary.kephart >> Twitter: @garykephart >> >> "The penalty that good men pay for not being interested in politics is to be >> governed by lesser men." -- Plato. >>