Forum Moderators: martinibuster
Sometimes it takes so long the ads never load an
I get a gateway timeout error.
I just tested it and it took 75 seconds to load the page and only 1 of 2 ads showed (I have a FIOS connection, page normally loads in 1- 2 seconds.)
Anyway for me to avoid this. It makes it very hard for me to use my own sites.
Jonpoh
Or, perhaps, its a DNS problem on "your end" (your local network/ISP, etc) and manually adding an entry for the Google ad code server(s) to your hosts file would bypass the slowness.
These things happen. For some unknown reason, I couldn't look at pages from the BBC at work until I added them to my hosts file.
Never rely on another website to respond in order for your web page to load.
It's well worth putting adsense code into absolutely positioned CSS, or at least some CSS that loads after your page content. Can limit your options on where to put it but your pages would load even if the adsense servers failed to respond.Never rely on another website to respond in order for your web page to load.
Unfortunately the AdSense javascript will prevent your webpage from rendering until it is delivered by the AdSense pagead2 servers. But fortunately, the javascript is probably already stored in the entire world's web browser caches.
Unfortunately the AdSense javascript will prevent your webpage from rendering until it is delivered by the AdSense pagead2 servers.
Only if the rest of the page relies on that information before it can load. Try messing around with a JavaScript include of your own with a time delay in it. See what happens when you put it at the start of the page code, at the end, in a table, outside a table, or in absolutely positioned CSS.
It'll probably be browser specific (JavaScript is browser side) but modern browsers are generally clever enough these days.