trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic...
authorJoey Hess <joey@kitenet.net>
Wed, 23 Jan 2013 23:40:35 +0000 (10:40 +1100)
committerJoey Hess <joey@kitenet.net>
Wed, 23 Jan 2013 23:40:35 +0000 (10:40 +1100)
commite5d82ef8680dce98b3afab43605d7b278c98c789
treec3d292160a417c352354ec65d07652d983eca954
parent066cabd5a6ec6d1411fb61494659854c2f864a0f
trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway.

This seemed to be due to the pagetemplate hook calling prerender. I've
observed this making it take *minutes* for the signin page to be displayed.
ltracing ikiwiki showed it was matching pagespecs a lot.

It may be that this is still a speed pain point when rendering pages, not
just for CGI. So more work may be needed here.
IkiWiki/Plugin/trail.pm
debian/changelog