• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web page size & response time calculation  RSS feed

 
Eswar Varanasi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to calculate the page size of a web page. I feel if this is done in some kind of a plugin
Is there any better way to proceed and calculate the exact web page components sizes and then sumup all to get the total size.
also response time and individual items processing time if available...etc

Any assistance is greatly appreciated.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do this on the server with a servlet filter. It can intercept all page requests, and -after they're done processing- access the output stream to count the number of bytes they contain.

It could also measure response generation times by remembering the current time when the request comes in, and subtracting that from the current time when the response goes out.
 
Eswar Varanasi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your response. This seems to be a good idea but what I wanted to do is to develop some kind of a tool external to server, with internet explorer. Any idea how to develop this as a plugin
in IE.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Java? That doesn't sound doable, unless you're prepared to write native code that starts a JVM using JNI. But on a Java site you're probably not going to get much help writing IE plugins in C/C++ :-)

You might also look into the Firefox extension TamperData. It shows (amongst other things) the size and response times of all pages/URLs you access.
[ August 14, 2008: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!