Grinnz / perldoc-browser

Perldoc Browser
https://perldoc.perl.org
Artistic License 2.0
55 stars 21 forks source link

POD render cache #14

Open Grinnz opened 5 years ago

Grinnz commented 5 years ago

While static site rendering is out of scope for now as it's incompatible with a useful site search, the step of rendering POD to HTML and munging the resulting DOM can be prerendered, stored in either filesystem or database, and then the results directly inserted into the template at request time.

Grinnz commented 4 years ago

This is now partially implemented in https://github.com/Grinnz/perldoc-browser/commit/f4780b97ac0a5e8474482ec008d18e72c5e7caf6 and https://github.com/Grinnz/perldoc-browser/commit/6a0a4ec5c9ea85140f6e2f59419178aa93fed5b1, for all standard pods. Individual function and variable pages, and the functions and modules index pages, are not pre-rendered yet.