is image caching possible in javascript?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vip001

    is image caching possible in javascript?


    Hello

    This is the site developed for one of my client
    'Direct2deal.co m' (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

  • Michael Winter

    #2
    Re: is image caching possible in javascript?

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

    [snip]
    [color=blue]
    > 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?????[/color]

    [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.

    Comment

    Working...