Make browsing your site a smoother experience by building a mini cache for your web pages
If you have multiple pages with many images (and other multimedia files), you can make browsing your site a smoother experience for your visitors by building a mini cache for your site. Sure, all major web browsers have their own caching system. However, all of them cache files after you see or hear them at least once, which of course does not give the optimum performance during the first visit to a page. Our mini cache on the other hand will try to load the necessary files before visitors see or hear them for the first time, significantly improving the response time.
The trick is to pre-load most widely used images at your site.
img1 = new Image();
img1.src = "internet_1.gif";
img2 = new Image();
img2.src = "windows_1.gif";
Simply paste the above tags on to the first page -- "index.html". That's it -- necessary images for "welcome2.html" page will be cached before visitors would get there, so the loading of that page would be much smoother.