xsl-list
[Top] [All Lists]

RE: <img> in stylesheet not looked for in browser cache?

2004-07-22 01:50:10
From: Donal Regan <donal_regan10(_at_)yahoo(_dot_)co(_dot_)uk>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] <img> in stylesheet not looked for in browser cache?
Date: Thu, 22 Jul 2004 06:49:58 +0100 (BST)

I have a page where a user click causes the contents
of a div on the page to be updated.The contents of the
div are the result of an XSLT on an XML file.My
stylesheet contains some <img> tags and it appears
these images are being downloaded from the server
everytime the div is updated. Is there anyway to avoid
this?

Cheers,
Donal





More of an HTML/Browser question. I don't know the answer but if you have a list of all images in advance you can pre-load them all via standard JavaScript methods. This will prevent them needing to be downloaded each time. Wheteher it will stop them being downloaded though is a different matter.

--

Joe




<Prev in Thread] Current Thread [Next in Thread>