commit | f3caee16417dc39e55af87787de4dc6b472d8832 | [log] [tgz] |
---|---|---|
author | Josh Karlin <jkarlin@chromium.org> | Mon Dec 10 22:54:27 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 10 22:54:27 2018 |
tree | 004051a7dd69f1b072b27e146d8de0a1bd96e6c1 | |
parent | a3f8b7314f548ab9e2b431cd6229ebb0e74ddf9c [diff] |
Create experiment to split cache by top frame origin This CL prefixes the disk cache's key with the top frame origin, like this: "[top frame url].[url]". This way the same resource loaded from two pages with different origins won't use the same cached entry. Changes: * Added a new experiment, SplitCacheByTopFrameOrigin. The experiment does *not* clear the caches on entry/exit from the experiment. If this proves to be problematic we can fix that later. * Added a top_frame_url member to HttpRequestInfo, copied from the URLRequest. * Changed the cache key generation function. * Added both unit and browser tests. Bug: 898855 Change-Id: I4a693e98af88de71d1ae6c4630c5df9fa042670b Reviewed-on: https://chromium-review.googlesource.com/c/1352344 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Maks Orlovich <morlovich@chromium.org> Commit-Queue: Josh Karlin <jkarlin@chromium.org> Cr-Commit-Position: refs/heads/master@{#615294}
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 .