Closed Thread Icon

Preserved Topic: Loading images/scripts concern. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20550" title="Pages that link to Preserved Topic: Loading images/scripts concern. (Page 1 of 1)" rel="nofollow" >Preserved Topic: Loading images/scripts concern. <span class="small">(Page 1 of 1)</span>\

 
OMERA
Bipolar (III) Inmate

From: France
Insane since: Mar 2000

posted posted 08-07-2002 01:26

Ok.
Here is some basic interrogation, but I didn't succeeded to find a clear answer on that point.

I have a page with some heavy graphics. To make sure they will be loaded in memory, I preload them with javascript. I have 4 or 5 .js file attached to the document, too. All this mess is mainly to create some DHTML navigation interface around the screen.

Now the visitor click on a link in a text zone in the middle of the screen, and that leads him to another page. This other page is exactly the same as the first, as far as the images and scripts are concerned; only the text change in the middle.

Things I don't want: reload ALL gfx and scripts! Too heavy loading for such a minor change! So my question is

"Will the navigator *reload* all the images and scripts? Or will he use is cache, as resources are the same?"

Ok, I know an immediate answer will be "use frame or iframe", but i don't really like that solution... I don't see frames and iframes with a good eye.

I know that that sounds as a stupid question, but I'm not sure at all of the exact answer... maybe there is some expert here?

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 08-07-2002 02:30

OMERA: I certainly wouldn't suggest a frame/iframe solution if it can be avoided. Hopefully you should have all the images loaded into the users cache after the first time around which should speed things up nicely. If you want us to check then drop the URL in here and we'll give it a try.

___________________
Emps

FAQs: Emperor

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-07-2002 02:55

Yes, in theory, preloading them once is enough. In theory.

OMERA
Bipolar (III) Inmate

From: France
Insane since: Mar 2000

posted posted 08-07-2002 09:38

Thanks folks!

I didn't have made up the page yet (analyzing possibilites before), so I don't haev anything to test for the moment...

Ok for the images! I have to experimen with that.

Slime, as I know you as a js freak , can you confirm that js files are reloaded each time? Thnx!

« BackwardsOnwards »

Show Forum Drop Down Menu