commit | be39b6a46ff6bf37e9a405f40abb9b451de005d5 | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Mon Aug 07 17:15:45 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 07 17:15:45 2017 |
tree | 6ee0a1953c13104ba119fa86c01dd44d6e7629d7 | |
parent | a895183ec919e6127fc8ea32e6de0de8bcd1a7c4 [diff] |
Stop adding RawResources to MemoryCache This CL stops adding RawResources to MemoryCache, mainly for a step for code simplification. Most of RawResources are already not added sto MemoryCache, so I expect the performance loss is acceptable. This CL will allow us to remove revalidation code from RawResource, which is beneficial for code simplicity and security. Some inspector code assumes that resources loaded by InspectorResourceContentLoader are cached. This CL breaks the assumption. Instead, this CL makes CachedResource search for a resource also in the InspectorResourceContentLoader. Bug: 652228 Change-Id: Ie9bdcd33248038d99b1dcdb59085cf3811b3bd87 Reviewed-on: https://chromium-review.googlesource.com/513764 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#492346}
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 .