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?

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