Re: Using HTTP cache control for invalidating a cache of parsed objects

Brian Smith <[email protected]>
Newsgroups gmane.comp.mozilla.devel.netlib
Message-ID <194303976.90120.1320699631171.JavaMail.root@zimbra1.shared.sjc1.mozilla.com>
Boris Zbarsky wrote:
> On 11/7/11 3:41 PM, Brian Smith wrote:
> > Ask the HTTP cache for the unparsed resource If the HTTP cache
> > didn't return something new
> 
> So this would be checking isFromCache() on the caching channel in
> OnStartRequest?
> 
> The problem is what to do then. If we cancel the channel at that
> point, does that still evict it from the HTTP cache?

Somebody that works on the cache would be able to better answer this.

> See, this is one reason it might make sense to store the higher-level
> data directly in the HTTP cache for cases when we want to put it on
> disk at all.

Why doesn't the server just serve the data exactly as we want it stored on disk?

Is there some more detailed explanation of what exactly is being attempted?

- Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.