467,910 Members | 1,685 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

is image caching possible in javascript?


Hello

This is the site developed for one of my client
'Direct2deal.com' (http://www.direct2deal.com)

This site has lots of images and hence downloading time of home page i
much more..Is there a way , where i can cache these images i
javascript?????

Your suggestions will be highly appreciate

--
vip00
-----------------------------------------------------------------------
vip001's Profile: http://www.highdots.com/forums/member.php?userid=12
View this thread: http://www.highdots.com/forums/showthread.php?t=138885

Jul 23 '05 #1
  • viewed: 1345
Share:
1 Reply
On 02/06/2005 08:49, vip001 wrote:

[snip]
This site has lots of images and hence downloading time of home page is
much more..Is there a way , where i can cache these images in
javascript?????


[snip]

The aim of caching is to make future activity faster; caching images
used on entry pages can't make first-time visits load quicker, only
later uses.

You can use client-side scripting to prompt the user agent into
downloading images before they're required (though whether they're
cached depends on user preferences), but if I understand your situation,
it can't help you here.

Your solution, as I see it, is to either use fewer images per page, or
compress the existing images further so they take less time to download.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Mr WZ Boson | last post: by
1 post views Thread by John | last post: by
4 posts views Thread by Change PH to F... | last post: by
reply views Thread by Scott Simes | last post: by
4 posts views Thread by vunet.us | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.