HighDots Forums  

Re: is image caching possible in javascript?

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: is image caching possible in javascript? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Winter
 
Posts: n/a

Default Re: is image caching possible in javascript? - 06-02-2005 , 08:01 AM






On 02/06/2005 08:49, vip001 wrote:

[snip]

Quote:
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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.