Bug 169756 - Add a reload policy where only expired subresources are revalidated
Summary: Add a reload policy where only expired subresources are revalidated
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-16 08:41 PDT by Antti Koivisto
Modified: 2017-03-17 12:52 PDT (History)
9 users (show)

See Also:


Attachments
patch (39.62 KB, patch)
2017-03-17 06:29 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (39.59 KB, patch)
2017-03-17 06:54 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (39.59 KB, patch)
2017-03-17 07:16 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (39.56 KB, patch)
2017-03-17 07:18 PDT, Antti Koivisto
akling: review+
Details | Formatted Diff | Diff
patch (40.92 KB, patch)
2017-03-17 07:54 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2017-03-16 08:41:11 PDT
Currently a reload will revalidate all subresources on the page (except those with Cache-Control: immutable). Add a weaker policy where only expired subresources are revalidated.
Comment 1 Antti Koivisto 2017-03-17 06:29:47 PDT
Created attachment 304772 [details]
patch
Comment 2 Antti Koivisto 2017-03-17 06:54:20 PDT
Created attachment 304774 [details]
patch
Comment 3 Antti Koivisto 2017-03-17 07:16:01 PDT
Created attachment 304775 [details]
patch
Comment 4 Antti Koivisto 2017-03-17 07:18:45 PDT
Created attachment 304776 [details]
patch
Comment 5 Andreas Kling 2017-03-17 07:47:01 PDT
Comment on attachment 304775 [details]
patch

r=me
Comment 6 Antti Koivisto 2017-03-17 07:54:45 PDT
Created attachment 304777 [details]
patch
Comment 7 WebKit Commit Bot 2017-03-17 07:55:50 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 8 WebKit Commit Bot 2017-03-17 12:52:53 PDT
Comment on attachment 304777 [details]
patch

Clearing flags on attachment: 304777

Committed r214113: <http://trac.webkit.org/changeset/214113>
Comment 9 WebKit Commit Bot 2017-03-17 12:52:58 PDT
All reviewed patches have been landed.  Closing bug.