I traded out the older Google Adsense code on the top four viewed pages of the web site with their new code. The new java ad code is about half the size it was before. The older code required 577 characters, while the newer code only requires 292 characters.
The top four pages are AWG sizes, Index page, CanBus, and the DVI bus. Looking back at some random month, their combined pages totaled 37,881 page views.
The difference in ad code is a reduction of 285 characters. Or 285 x 8 bits per character = 2,280 bytes. For one typical month that equates to a savings of 86,368,680 bytes; 2,280 bytes x 37,881 page views. An 86MB saving per month is pretty good for 5 minutes of work. It's a faster download and less of a strain on my server.
Wait a minute there are three ads per page, or a difference of 855 characters not 285.
So 3 x 86,368,680 = 259,106,040 bytes.... 259MBytes reduction in bandwidth.
2 comments:
AWSTATS gives a report showing all down loaded pages. It shows relative pages views next to relative download size. Some of the pages show a very large download compared to the number of times the page is viewed. I think I'll hit some of the pages with large down load numbers to add the small ad code to.
Jan 2008 shows 58.15kB/visit
Avg for 2007 hovers at 61kB/visit
Avg for 2006 is around 63kB/visit
Saving 5000 bytes may not seem like a lot until you factor in the 217,694 visits for Jan 2008 = 1GB smaller download
Post a Comment