Mike Kienenberger wrote:
If it's not the method, and it's not the browser, (and I'm pretty sure it's not the JSF implementation), then it's probably a filter, most likely the Tomahawk Extensions filter.
Yes, my guess would be the ExtensionFilter too (and in particular the ReducedHtmlParser class).
What this filter does is buffer all output generated during the normal JSF render, then scan that output looking for interesting locations like the end of the [head] section, the start of the [body] section etc. It uses this information to inject text into the resulting page (eg script tags into the head or onload calls into the body tag).
Putting XML/HTML comments around some of the body would enable the ReducedHtmlParser class to quickly skip the content rather than having to carefully parse it.
So in short, it looks like ReducedHtmlParser needs some performance improvements. Feel free to contribute patches!
Regards, Simon

