Ad Code 'slows Down' Browsing Speeds
Ads are responsible for making webpages slow to a crawl, suggests analysis of the most popular one million websites.
The research by developer Patrick Hulce looked at which chunks of code take longest to load.
About 60% of the total loading time of a page was caused by scripts that place adverts or analyse what users do, he found.
But using ad-blockers may not be the best way to avoid delays and speed up the loading of webpages, he said.
Mr Hulce gathered data from both desktop and mobile versions of popular sites on which he sampled programs written in the Javascript language. This is typically used by developers to make sites interactive and also helps them display ads or log what users click on.
He found that the Javascript code helping Google place ads on pages and analyse user activity bestowed the longest delays on visitors. The Javascript behind Google ads and its analytics system were found on the largest number of sites in the million sampled, Mr Hulce told The Register news site.
If used together on a site, these can add more than two-thirds of a second to loading times, he found.
There were some ad-serving scripts written in Javascript that imposed longer delays, but these were used on a much smaller proportion of sites, the analysis found.
The worst offender was the WordAds script for WordPress blogs that, all by itself, can delay the arrival of an entire page by up to 2.5 seconds.
Not all delays were down to ads and analytics, said Mr Hulce. Other factors such as network delays and big file sizes for some content could also contribute to slow loading times.
In addition, he said, greater use of ad-blocking programs may not always improve browsing speeds.
Ad-blockers can end up "triggering convoluted workaround logic and complex disguising of ads that increase script execution time", he told The Register.
From Chip War To Cloud War: The Next Frontier In Global Tech Competition
The global chip war, characterized by intense competition among nations and corporations for supremacy in semiconductor ... Read more
The High Stakes Of Tech Regulation: Security Risks And Market Dynamics
The influence of tech giants in the global economy continues to grow, raising crucial questions about how to balance sec... Read more
The Tyranny Of Instagram Interiors: Why It's Time To Break Free From Algorithm-Driven Aesthetics
Instagram has become a dominant force in shaping interior design trends, offering a seemingly endless stream of inspirat... Read more
The Data Crunch In AI: Strategies For Sustainability
Exploring solutions to the imminent exhaustion of internet data for AI training.As the artificial intelligence (AI) indu... Read more
Google Abandons Four-Year Effort To Remove Cookies From Chrome Browser
After four years of dedicated effort, Google has decided to abandon its plan to remove third-party cookies from its Chro... Read more
LinkedIn Embraces AI And Gamification To Drive User Engagement And Revenue
In an effort to tackle slowing revenue growth and enhance user engagement, LinkedIn is turning to artificial intelligenc... Read more