Re: Please help on image problem
- From: "RobB" <ferndoc9@xxxxxxxxxxx>
- Date: 31 Mar 2005 08:45:38 -0800
Dave wrote:
> "Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> wrote in message
> news:Xns962A74BB63DF4eejj99@xxxxxxxxxxxxxxxxx
> > Dave wrote on 31 mrt 2005 in microsoft.public.scripting.jscript:
> >
> > > Further to my last post, please could someone help with this
question.
> >
> > <http://www.lastpost.be/> ?
> >
> > > If I want 50 copies of the SAME image on the page, is it possible
to
> > > avoid each one downloading individually from the server. Ie can
I
> > > just have ONE image object with its src set then somehow copy it
49
> > > times elsewhere? If you set the .src property on an image it
starts
> > > to download from the server. As I may need 200-300 copies, this
gets
> > > very slow.
> > >
> >
> > A good browser would do this for you, if it's cashe memory allows.
> >
> > --
> > Evertjan.
> > The Netherlands.
> > (Replace all crosses with dots in my emailaddress)
> >
>
> I am using IE6 under Windows XP
>
> Surely this is the right spec? Is there a setting I'm missing
because I
> notice that even if I preload an image, when I set another image's
..src
> property, it still downloads from the server.
>
> Dave
IE5+ exhibits a well-known bug when you specify an absolute image path
as the src: the image will always be downloaded instead of fetched from
cache. If you use relative urls, only one http get should be executed,
and other tags should use the cached copy. hth
.
- Follow-Ups:
- Re: Please help on image problem
- From: Dave
- Re: Please help on image problem
- References:
- Please help on image problem
- From: Dave
- Re: Please help on image problem
- From: Evertjan.
- Re: Please help on image problem
- From: Dave
- Please help on image problem
- Prev by Date: Re: Using Variables instead of hard code in jscript and html
- Next by Date: Re: Returning the hieght of frames in a window
- Previous by thread: Re: Please help on image problem
- Next by thread: Re: Please help on image problem
- Index(es):
Relevant Pages
|