| Can javascript capture image download times in the client? With javascript event timers, you can relatively easily determine how long it too for the page to render in the browser, especially when using tools like Jiffy. However, is it possible to capture more granular events such as individual image/object download times using javascript in the page? I am fairly sure this is not possible, but wanted to confirm with the javascript guru's of SO. Thank you in advance. | |
| javascript | by Community on 6/30/2009 11:52:48 PM |
Sadly, unless you load the images using the javascript image object manually instead of in the markup, I don't believe this is possible. that's why you usually see this functionality in things like firefox plugins |
| by Joel Martinez on 6/30/2009 11:57:01 PM |
If what you want to time can be put into an event that has a callback, you can check the time before and after. So anything you do with Ajax you can time. What exactly are you trying to time? Can you be more specific? |
| by Nosredna on 6/30/2009 11:57:52 PM |
I'm not totally familiar with this jQuery plugin, but it may be of help to you: |
| by James Skidmore on 6/30/2009 11:57:01 PM |