[thelist] OnLoad Event to touch file on server
Sam Carter
sam at iness.com
Wed May 4 13:52:43 CDT 2005
I'm trying to work with a customer who (I believe) has a proxy that is
seriously affecting page load times. I could timestamp the page load
time if I had an OnLoad JavaScript that would just touch an ASP file
back on my server. If anyone has just a JavaScript, please help me out.
Another approach may be easier to code it without JavaScript, using HTML
only -- like this...
<img src="mytimestamp.asp" height="1" width="1">
</body>
</html>
But:
- this will introduce a 1 pixel layout element. (Is there some other
way to do this without using <img> ?)
- It is not guaranteed to load after all the other page elements (I
think the OnLoad event waits for every element to load?)
Any thoughts? JavaScripts? Elements other that <img>? Better approaches?
Sam
More information about the thelist
mailing list