[webkit-reviews] review requested: [Bug 201461] Support stale-while-revalidate cache strategy : [Attachment 381827] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 25 01:18:19 PDT 2019


Rob Buis <rbuis at igalia.com> has asked  for review:
Bug 201461: Support stale-while-revalidate cache strategy
https://bugs.webkit.org/show_bug.cgi?id=201461

Attachment 381827: Patch

https://bugs.webkit.org/attachment.cgi?id=381827&action=review




--- Comment #21 from Rob Buis <rbuis at igalia.com> ---
Comment on attachment 381827
  --> https://bugs.webkit.org/attachment.cgi?id=381827
Patch

This patch uses TestRunner API to allow enabling stale-while-revalidate
behavior in the NetworkProcess. I did not find a way to do a similar thing
using a runtime flag, if anybody knows an existing way or a new way to do it,
let me know...

It seems a build flag will remain needed since AsyncRevalidation relies on
SpeculativeLoad. I went with NETWORK_CACHE_SPECULATIVE_REVALIDATION this time
because it is less intrusive.


More information about the webkit-reviews mailing list