Usually preloading images is good for image swapping like on a mouseover and it makes a ton of difference in that case. But it only works for your current page so you cannot preload/pre-cache another page's images.
Oh yah, preloading all the current pages images will not make any difference when the page is initially loading. It only will make a difference on images that are on the page but are not seen until you preform some kind of event.
I know there's probably alot more to it. Hopefully an expert and enlighten both of us a bit more. =)
Hmm.. there are some javscript programs that do pre-cache the images on a page but none that I found are free. You would need a script that does that as image preloading will not help a page inititally load any faster. You just have to optimize your graphics as much as possible.
To speed up a page.
Do the followings.
- do not embed Javascript. Make an external Javascript link to both pages.
- if your site is transitional, convert it to HTML strict. Less data this way.
- use Photoshop to optimize your graphic.
- do not embed Cascading Style Sheets. Make an external CSS links to both pages.
If the page containing the images isn't your home page, you should be able to preload the images on the home page. That way when the user visits the image page, the images are already in their cache.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.