[whatwg] Cache manifests and cross-origin resources

On Fri, Aug 27, 2010 at 11:21 AM, Ian Hickson <ian at hixie.ch> wrote:

> On Fri, 27 Aug 2010, Anne van Kesteren wrote:
> >
> > With the current model makingyourinterwebsboring.com can define a cache
> > manifest and basically point to a lot of external news sites. When any
> > of those sites is then fetched directly they would be taken from the
> > cache. That does not seem optimal.
>
> They'd only be fetched from the cache if they had a manifest="" attribute
> pointing to the same manifest.
>

... and since they're from a different origin than the manifest url, that
can't happen.

Resources from an origin different than the manifest's origin will be
cached, but they will never be used to satisfy a a frame navigation. They're
only eligible to be loaded as subresources into pages/workers that are
associated with the cache containing those resources.


> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100827/e12e3734/attachment.htm>

Received on Friday, 27 August 2010 13:15:17 UTC