SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    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,

  2. #2
    SitePoint Enthusiast
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •