Hi
I'm facing strange performance problems I would not expect generating long html pages on the fly.
I have a page that is approximately 30 to 40Kb long. Profiling code generation I obtain a 30 second time to process. I have excluded every server-side processing activity since I have also used a StringBuffer to accumulate all the html code to be flushed: generating the StringBuffer content require less than 1ms... flushing out the content with:
out.print(stb);
out.flush()
is taking 5 to 6 seconds. The same happens both on a development environment using CQ servlet engine, both in production where we are using CQ with JBoss as app server.
I tried the same operation on a simple tomcat installation with a JSP... less than 10 ms to generate the full page.
This problem is slowing down a lot performances.
The contents are generated inside a nested component included with a <cq:include> tag.
Anyone can give me suggestions on how to cut down a so big delay in html content generation?
thanks