Several people in the past have asked me what code was used to render POD on search.cpan.org. My response has always been "A hacked version of Pod::HTML_Elements"
Then Sean wrote the Pod::Simple modules and my response became "A hacked version of Pod::HTML_Elements, but use Pod::Simple".
Today I finally changed search over to using Pod::Simple::HTML, with a few modifications, which has resulted in a speedup of more than 5x in rendering POD pages. The changes I made have been sent to Sean and will hopefully be in the next release.
Isn't the output of rendering these pages, cached on disk? You know, like Template Toolkit caches its conversion of templates to perl.which has resulted in a speedup of more than 5x in rendering POD pages
If so, then the actual rendering time of each page doesn't matter as much.
Re:cache
ask on 2003-09-03T19:59:42
They are presumably not cached forever. And even if they are, there's still the first hit on any given page.
The changes I made have been sent to Sean and will hopefully be in the next release.
Does that mean you've hacked Table of Contents support into Pod::Simple::HTML - or does it already support that and I'm just not smart enough to make it do it?
Re:Do your mods include TOC support?
gbarr on 2003-09-04T10:04:32
Yes, my patch I sent to Sean does include support for TOC