Re: web page rendering is slow

2010-04-13 Thread Pid

On 13/04/2010 08:53, Karthik Nanjangude wrote:

Hi

SPEC

JDK 1.5
TOMCAT 5.x (JBOSS Embedded)
OS : LINUX


Problem

Our application caters to B2C process with embedded with 3rd party URL's   for 
Advertisement process in display

How ever some times this URL's are slow in response, hence our web page 
rendering is slow


How are you including the content from the URL?


Is there any way to solve this issue?
Note: - Need to have the 3rd party URL for sponsorship


Embed them in an iframe.


p


With regards

N.S.Karthik





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: web page rendering is slow

2010-04-13 Thread Karthik Nanjangude
Hi

 Embed them in an iframe.

The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.

The Tags are in embedded in script function adv1()/script  format

And the script function is provided by the 3rd party sponsor.


Any ideas 's  for this problem




With regards
karthik


-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Tuesday, April 13, 2010 2:45 PM
To: Tomcat Users List
Subject: Re: web page rendering is slow

On 13/04/2010 08:53, Karthik Nanjangude wrote:
 Hi

 SPEC

 JDK 1.5
 TOMCAT 5.x (JBOSS Embedded)
 OS : LINUX


 Problem

 Our application caters to B2C process with embedded with 3rd party URL's   
 for Advertisement process in display

 How ever some times this URL's are slow in response, hence our web page 
 rendering is slow

How are you including the content from the URL?

 Is there any way to solve this issue?
 Note: - Need to have the 3rd party URL for sponsorship

Embed them in an iframe.


p

 With regards

 N.S.Karthik




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: web page rendering is slow

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karthik,

On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
 Embed them in an iframe.
 
 The design of this Web application is in Tiles / Struts format.
 When we did load testing ..we did not encounter any problems.

If your load testing did not demonstrate any problems, yet you are
encountering problems in production, that suggests that your load tests
were not properly reproducing real-world scenarios.

 The Tags are in embedded in script function adv1()/script  format

Can you turn these into script src=.../script constructs? These
will not prevent the browser from rendering the page.

 And the script function is provided by the 3rd party sponsor.
 
 Any ideas 's  for this problem

Cache the 3rd-party functions locally with some timeout?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEc1UACgkQ9CaO5/Lv0PBVvQCgiNKCrJsZLuYfjrG+el6c2Qza
mEMAoJGUMewDVz1I1Iy7p547cEqrVf1B
=DSp5
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: web page rendering is slow

2010-04-13 Thread Pid

(With apologies to Karthik, as I inadvertently sent this to him directly)

On 13/04/2010 10:32, Karthik Nanjangude wrote:

Hi


Embed them in an iframe.


The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.


Perhaps your load testing didn't completely accurately replicate 
real-world conditions.  Did it simulate a browser loading each page, 
completely with images, CSS, javascript etc?



The Tags are in embedded inscript  function adv1()/script   format
And the script function is provided by the 3rd party sponsor.


This sounds like it's an HTML problem, not a server problem.

Are the scripts defined in-line in the HTML?

Browsers will stop rendering the page if they find a new script tag 
definition, until that script is downloaded and run.



Any ideas 's  for this problem


If possible place all of the script tags at the end of the page so they 
don't hold up rendering.



p


With regards
karthik


-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Tuesday, April 13, 2010 2:45 PM
To: Tomcat Users List
Subject: Re: web page rendering is slow

On 13/04/2010 08:53, Karthik Nanjangude wrote:

Hi

SPEC

JDK 1.5
TOMCAT 5.x (JBOSS Embedded)
OS : LINUX


Problem

Our application caters to B2C process with embedded with 3rd party URL's   for 
Advertisement process in display

How ever some times this URL's are slow in response, hence our web page 
rendering is slow


How are you including the content from the URL?


Is there any way to solve this issue?
Note: - Need to have the 3rd party URL for sponsorship


Embed them in an iframe.


p


With regards

N.S.Karthik





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: web page rendering is slow

2010-04-13 Thread Pid

On 13/04/2010 14:36, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karthik,

On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:

Embed them in an iframe.


The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.


If your load testing did not demonstrate any problems, yet you are
encountering problems in production, that suggests that your load tests
were not properly reproducing real-world scenarios.


The Tags are in embedded inscript  function adv1()/script   format


Can you turn these intoscript src=.../script  constructs? These
will not prevent the browser from rendering the page.


I thought that even a src referenced script stopped the page?


p


And the script function is provided by the 3rd party sponsor.

Any ideas 's  for this problem


Cache the 3rd-party functions locally with some timeout?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEc1UACgkQ9CaO5/Lv0PBVvQCgiNKCrJsZLuYfjrG+el6c2Qza
mEMAoJGUMewDVz1I1Iy7p547cEqrVf1B
=DSp5
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: web page rendering is slow

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 4/13/2010 10:45 AM, Pid wrote:
 On 13/04/2010 14:36, Christopher Schultz wrote:
 Karthik,
 
 On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:
 Embed them in an iframe.

 The design of this Web application is in Tiles / Struts format.
 When we did load testing ..we did not encounter any problems.
 
 If your load testing did not demonstrate any problems, yet you are
 encountering problems in production, that suggests that your load tests
 were not properly reproducing real-world scenarios.
 
 The Tags are in embedded inscript  function adv1()/script   format
 
 Can you turn these intoscript src=.../script  constructs? These
 will not prevent the browser from rendering the page.
 
 I thought that even a src referenced script stopped the page?

I was thinking of this:
http://www.stevesouders.com/blog/2009/04/09/dont-use-import/

But there's also this:
http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEkJ4ACgkQ9CaO5/Lv0PB0IACgiVesyN9A2noqKAmmGfRLyHFD
ysEAn2tOikNdk5VRezxFVJdoJlihV3xo
=uN67
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: web page rendering is slow

2010-04-13 Thread Pid

On 13/04/2010 16:41, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 4/13/2010 10:45 AM, Pid wrote:

On 13/04/2010 14:36, Christopher Schultz wrote:
Karthik,

On 4/13/2010 5:32 AM, Karthik Nanjangude wrote:

Embed them in an iframe.


The design of this Web application is in Tiles / Struts format.
When we did load testing ..we did not encounter any problems.


If your load testing did not demonstrate any problems, yet you are
encountering problems in production, that suggests that your load tests
were not properly reproducing real-world scenarios.


The Tags are in embedded inscript   function adv1()/scriptformat


Can you turn these intoscript src=.../script   constructs? These
will not prevent the browser from rendering the page.


I thought that even a src referenced script stopped the page?


I was thinking of this:
http://www.stevesouders.com/blog/2009/04/09/dont-use-import/

But there's also this:
http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/


OK.  That's interesting - and counter to my experience of a script 
served by a well-known (but not google) ad company.  We had to jump 
through some hoops to ensure that the script didn't block - but maybe 
the script was calling document.write, I don't remember and it was a 
couple of years ago.



p


- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEkJ4ACgkQ9CaO5/Lv0PB0IACgiVesyN9A2noqKAmmGfRLyHFD
ysEAn2tOikNdk5VRezxFVJdoJlihV3xo
=uN67
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org