[webkit-dev] http cache support - rfc2616

Darin Fisher darin at chromium.org
Mon Nov 17 14:14:10 PST 2008


How much RFC 2616 logic is really needed at that layer?  Mozilla's memory
cache simply issues the equivalent of an "if-modified-since" request of the
underlying HTTP cache when the resource's expiration time has passed.  Does
WebCore's memory cache really need do to anything more?
Given that ResourceResponse already has an expiration time field, maybe all
that is needed is a way to make a pseudo "if-modified-since" style request
via ResourceHandle?

-Darin


On Mon, Nov 17, 2008 at 12:16 PM, Antti Koivisto <koivisto at iki.fi> wrote:

> WebKit implements significant parts of RFC 2616 caching logic for it's
> internal memory cache and will implement more. See
> https://bugs.webkit.org/show_bug.cgi?id=17998 for details.
>
>
>   antti
>
> 2008/11/15 Darin Fisher <darin at chromium.org>:
> > The http caching logic for chromium lives here:
> >
> http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_cache.cc?view=markup
> > WebKit does not have code for a network stack.  Instead, each port
> provides
> > a network stack, typically by using a system library.
> > -Darin
> >
> > On Sat, Nov 15, 2008 at 9:01 AM, zaheer ahmad <zaheer.mot at gmail.com>
> wrote:
> >>
> >> hi,
> >> Does webkit or any component built with (e.g. chromium) has a full
> >> implementation of http caching- rfc2616. a quick search in the code base
> or
> >> the bug list does not suggest one. Looks like some of the pieces from
> html5
> >> application cache can be reused for such an implementation. kindly
> suggest.
> >> thanks,
> >> Zaheer
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >>
> >
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081117/4658f55d/attachment.html>


More information about the webkit-dev mailing list