By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,206 Members | 1,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,206 IT Pros & Developers. It's quick & easy.

is image caching possible in javascript?

P: n/a

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
Share this Question
Share on Google+
1 Reply


P: n/a
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.