commit | b17cf903956f3727d74464dbac847f62ba00b80e | [log] [tgz] |
---|---|---|
author | Dave Tapuska <dtapuska@chromium.org> | Thu Jun 21 15:03:10 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 21 15:03:10 2018 |
tree | 7eb14e1e473b3f7c89262993f4ce2f6f462dc845 | |
parent | 3f6b6de6287031ef79650af9898d783074cfebd2 [diff] |
Compute the revalidation based on the stale-while-revalidate attribute. Add additional API to determine if we should revalidate if we are allowing a stale response. Add a test to cover the different intervals of what should be returned by the API. BUG=348877 Change-Id: I69be1c768e4896362406bb80a3dde307edae27d2 Reviewed-on: https://chromium-review.googlesource.com/1102352 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#569263}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .