Does Geotargeting Slow Down Your Site?

Discussion in 'Programming' started by Inersha, Nov 25, 2008.

  1. #1
    I'm not sure if this is just on my site, but has anyone else found that geotargetting ads or anything on your site slows down the loading time?

    I have found that a page take a little longer to load if there is geotargetting on it. The biggest problem comes when the rest of the page will not load until the geotargetted ad has been outputted to the browser, and so the time it takes for delivery of content is increased.

    Does/should geotargeting slow down page loads? Is there anything that I could do to prevent geotargeting from slowing down my web pages?

    Any advice or help would be much appreciated.
     
    Inersha, Nov 25, 2008 IP
  2. smatts9

    smatts9 Active Member

    Messages:
    1,089
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    88
    #2
    It is most likely your coding that needs to be more efficient.
     
    smatts9, Nov 25, 2008 IP
  3. Inersha

    Inersha Active Member

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    I'm using a popular script, so I'm hoping that it will have been coded quite well.

    The script does track clicks and fetch some information from a database however, so is this what could be slowing page loads down?

    Also, is it normal to prevent the rest of a page loading before the php code has been parsed? Is there any way to allow to php to parse whilst the the rest of the site loads normally without delay?
     
    Inersha, Nov 26, 2008 IP
  4. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #4
    Yes, call the ads script as an external page as Google Adsense does.
     
    mwasif, Nov 26, 2008 IP
  5. Inersha

    Inersha Active Member

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    Sounds interesting. Is this using an iframe? What are the disadvatages of doing it this way?
     
    Inersha, Nov 26, 2008 IP
  6. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #6
    It depends on the host. It should take around .1 second to compute the location, however, some servers might have too many hits it becomes much slower.

    Peace,
     
    Barti1987, Nov 26, 2008 IP