JayK's JS based ESI parser

This is the example of how to use jayk's Javascript based ESI parser. This module is intended to allow those developing sites that use ESI to do that development and testing without an ESI-parsing cache in front of their dev server. By including the esiparser.js and calling it on document load, it will recreate your page in the same way that an ESI parsing cache would. It has some limitations, but it should work well enough in most cases for it's intended purpose. Enjoy.
--JayK

Also, to make the demonstration more clear, ESI parsing is not done automatically on this page. Click here to trigger ESI parsing.



this is the remainder of the original document
You should not see this at all if esi:remove is working