I was just wondering if u might wanna put all the CSS code in a seperate CSS file. Right not it’s embedded in every page, and downloads with each page view.
This file would be just 1.8KB (with the current CSS code we have), and will only be downloaded once per visit. So assuming we get an average of 50,000 visits a day (we get more right?) and that each visit brings approx. 5 hits, we get about 250,000 page views a day. So…
50,000 * 5 * 1.8 = 450,000KB = 439.45MB / day
or
439.45 * 30 = 13,183.6 MB / month
This is the amount of bandwidth that can potentially be saved assuming my traffic estimates are true. Plus, you would save all the time needed to edit all those vbulletin templates when u want to change say a font size of an element accross the site. What’s more? May be slightly faster page loading for our brothers and sisters behind dialup connections in Pakistan.
So all we need to do is put all the css in a seperate file and import it into the templates.
Sahi ya ghalat? ![]()
Hope u like the idea,
Haydur.
P.S. Have had this idea for long, but was just being mighty lazy…