Re: how do you do this ? (no need to reload pics etc on similar pages)
| From: | David VanHorn | Date: | Thu, 27 Jul 2000 17:37:58 +0000 |
| Subject: | Re: how do you do this ? (no need to reload pics etc on similar pages) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8611@lists.php.net to get a copy of this message | ||
At 06:16 PM 7/27/00 +0100, Nick wrote:
hi, I have seen a number of web pages that have this thing whereby images = that appear on every page, such as the header logos etc..., do not = reload each time a page is opened (for example see=20I'm not sure I understand, but maybe this helps: On my site, (see tagline) I have graphics that are used on many pages. I put them in /Graphics, and call them in the html as /Graphics/Image.gif (or whatever) Since they are actually the same file, the browser doesn't reload them, it just uses the copy it already has. Makes a big improvement of you have loads of buttons and such. Deltapoint quicksite was particularly wretched about this. It would put, in every page, and in every directory, a new copy of any graphic that you used... If you had 10 identical buttons on a page, then in that dir, you would find "button1.gif... button10.gif" (I'm simplifying, deltapoint would use some horrible file name like a0001023.gif) -- www.SpamWhack.com A pre-emptive strike against spam Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 My transistor sings with unintended parasitic the smoke escapes By Jeff Stout