SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Slow loading w/ external script
-
Jan 23, 2004, 07:36 #1
- Join Date
- Nov 2000
- Posts
- 44
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Slow loading w/ external script
Hello,
In my page, I have to load an external javascript (it's an ad serving code, using src='....') and once the external site is not accessible, it slows down my site significantly (to a level that unacceptable to visitors). Is there anything I can do to prevent this? Or anything the ad server needs to change?
Thanks,
-
Jan 23, 2004, 07:39 #2
- Join Date
- Jan 2004
- Location
- Florida
- Posts
- 39
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Javascript isn't dynamic enough to detect whether the server is timing out with your request. Is it possible for you to get a copy of the javascript reference and use it locally (on same server) In this way, you'll only have timeouts if the server the page referencing it is on is having problems.
Bookmarks