Re: Cache information [was: Support for page/resource size]

Right. I think we have three orthogonal issues on this thread:

We would like an indication of whether or not an object came from HTTP cache —> Ilya’s proposal to use “age” is on the table.
We would like an indication of whether or not a preloaded resource was used: https://github.com/igrigorik/resource-hints/issues/19.
We want to know the size of a resource either including HTTP headers or just the attachment or both.

Peter

On Aug 26, 2014, at 4:05 PM, Ilya Grigorik <igrigorik@google.com> wrote:

> 
> On Tue, Aug 26, 2014 at 12:58 PM, David Lerner <davidflerner@gmail.com> wrote:
> We will want to be able to preload non-cacheable objects, so it might be clearer to explicitly have a used flag.
> 
> This seems orthogonal to the discussion here. You can "preload" from HTTP cache. 
> 
> That said, there is a use case for wanting to know if a preloaded resource was, in fact, "used":
> https://github.com/igrigorik/resource-hints/issues/19
> 
> ig

Received on Tuesday, 26 August 2014 21:40:07 UTC