View Single Post
Old 12-11-2012, 03:26 PM   PM User | #35
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 848
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
Quote:
Originally Posted by AndrewGSW View Post
People seem to pre-cache images by running a script in the head tag - that is, as the page is constructed - so that they are available as soon as the page is loaded.

I notice that we can also specify the size of the image(s):

Code:
image1 = new Image(480, 320);
I like this
Hi andrew, I have completed the products page and was wondering if you could help me with caching the images to help the loading of the page. My live version pretty much crashes my browser because of the amount/size of the images on my products page. I am going to send all my images through a site I found which optimizes the image file (I want them as small in size as possible) but I want to further help the loading by caching the files so the users have a better experience.

I myself got quite annoyed when the browser has 3 second delays even for scrolling down the page. I don't think many users would stay on the site or even bother looking at my products if this is happening to them.

Are there any good tutorials out there which can guide me through?

Kind regards,

LC.
LearningCoder is offline   Reply With Quote