Re: multipart/mixed html's

From: Stephen Poley (sbpoleySpicedHamTrap_at_xs4all.nl)
Date: 02/22/04


Date: Sun, 22 Feb 2004 22:36:27 +0100


(apologies to all for extending a thread which has nothing to do with
PHP)

On Sun, 22 Feb 2004 16:29:32 +0100, "Niels Berkers"
<meel_me_niet@hotmail.com> wrote:

>> I don't see a problem. All the spacers should just be a single file
>> (spacer.gif or whatever) with different width and height attributes in
>> the HTML. Every visitor generates just one hit on the server for all
>> spacers.
>
>you're right, when you're talking about a second visit to the page ( or an
>other page within the site )

No, I'm talking about having a lot of spacers on a page (at the first or
any other visit), which I thought was your problem.

>and mod_expires is running
>otherwise you still get hits for each spacer 304 ( not modified )
>when a page page is first loaded IE still checks for every spacer if it's
>changed, expires doesn't work at that point.

Are you saying that if a *single* image occurs ten times on a page, then
IE generates ten hits on the server? I didn't think that IE was that big
a heap of junk, though I could be wrong. At any rate in a quick test on
my own server it only generated one hit (200) the first time round, and
one (304) on refresh.

>> Have you perhaps gone and created dozens of differently sized spacer
>> GIFs? Or have you perhaps done something which suppresses caching? I'd
>> look in those directions first.
>
>nope, i know where i'm talking about. just searching for better solutions
>than i've already got.

-- 
Stephen Poley