W3C home > Mailing lists > Public > public-html@w3.org > February 2010

Re: [Bug 8252] HTTP caching rules are _ignored_? What's wrong with extending Cache-Control to support user-agent caching instead of coming up with an entirely new mechanism?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 14 Feb 2010 12:27:38 +0100
Message-ID: <4B77DE2A.6030703@gmx.de>
To: Jonas Sicking <jonas@sicking.cc>
CC: public-html@w3.org
Jonas Sicking wrote:
> Out of curiosity, for a document like:
> 
> <!DOCTYPE html>
> <html>
> <head><title>...</title></head>
> <body>
> <img src="myPic.jpg">
> <img src="myPic.jpg">
> </body>
> </html>
> 
> and with a GET request to myPic.jpg returning cache-control:no-cache
> 
> Should this result in two requests being made to myPic.jpg? If not, is

No.

> that considered ignoring HTTP caching rules?

It depends on what HTML says about how the <img> tag is processed.

What we need is language that allows the UA to only retrieve once even 
when used multiple times in the page, but requires refetching later on.

Best regards, Julian
Received on Sunday, 14 February 2010 11:28:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:14 UTC