Hi Andre,
You'll need to do a bit of digging to determine where the bottleneck is
and then optimise that part.
For example, you said that your page spends a lot of time doing analysis
- is there any way to pre-generate or cache that data so you don't have
to compute it every time the page is hit? Maybe you can take advantage
of AJAX to retrieve data after the page loads or limit the amount of
data you're sending.
You might also try using a different browser to hit the page - or even
use telnet or wget to retrieve it - just to see if you're getting all of
the data or if there is a timeout someplace.
It's hard to say which way to look first without knowing the
application, but those are some starting points. Ultimately, it's a
matter of finding the slow point and fixing it.
Cheers,
Joe Hindsley
On 11/10/2012 04:17 PM, Andre Gustavo Lomonaco wrote:
Hi Everyone,
I'm having a problem with pages that spend a lot of time doing some
analysis.
The IE shows the page loading but never show me the page, although I can
see in the log that the page was finished
For example, when I try to receive the pag maclvan.htm I can't but the
log show me that Apache Click finished his job:
[Click] [info ] renderTemplate:
/protocolos/macvlan.htm,border-template.htm - 7 ms
[Click] [info ] handleRequest: /protocolos/macvlan.htm - 498406 ms
When I try the same page, but with less data, I can receive the page in
my IE without problem
[Click] [info ] renderTemplate:
/protocolos/macvlan.htm,border-template.htm - 5 ms
[Click] [info ] handleRequest: /protocolos/macvlan.htm - 45003 ms
Is there any timeout that my application needs to respect ?
Any tip or help ?
I'm using Apache Click 2.1.0 with Tomcat 7.0.23
My Best Regards
Andre Gustavo