Load the background graphic laterIn 99% of the cases, the background graphic is not the most important to deliver as quick as possible to the visitor. The load time of other elements is more important.Let's take a web site highly optimized for fast loading. The first TCP/IP package comes. In this package, the browser finds, that it's necessary to laod several other files. But what files are important for a first quick impression of the visitor? In 99% of the cases, not the background graphic. Therefor, at the PEGE pages, loading the background graphic is only started after loading the JavaScript.
.print{url(none)} .screen{background-color:ECEBF0;background-image:url(../pic/background/20081118.png);background-repeat:repeat-y;}
document.body.className='screen'; Evaluating log files showed, in this case, loading the background graphic occurs only after loading the JavaScript. Testet with MSIE 7 and Firefox 3.0.4. |