commit | 34ba977263f45aa7d718e23f993781311d3a7049 | [log] [tgz] |
---|---|---|
author | Rayan Kanso <rayankans@chromium.org> | Wed Jan 23 17:20:37 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 17:20:37 2019 |
tree | 30312407c6a89ea9067366758da8a5b5bde2746b | |
parent | 1c8b1403f4cbe485bfe4f184a567e591830332f8 [diff] |
[Background Fetch] Support registrations w/duplicate URLs. This CL uses a workaraound to enable storing duplicate URLs in the Cache Storage, until it is fully supported. The way it works is that it appends the unique_id+request_index to the URL query, and removes it again when extracted from the cache. When a request is matched, we search the cache with ignored query mode, then we recheck that the queries in fact match. This also allows to store duplicate URLs with different methods. This CL should be submitted with a second part, that performs a cache migration from the old format to the new one. Bug: 871174 Change-Id: Id801361424fbb9464016daba153155c3259b6671 Reviewed-on: https://chromium-review.googlesource.com/c/1414937 Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by: Mugdha Lakhani <nator@google.com> Reviewed-by: Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#625239}
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 .