Chromium Code Reviews
DescriptionIntroduce Platform::cacheMetadataInCacheStorage() to store V8 code cache in CacheStorage
We will introduce v8-cache-strategies-for-cache-storage flag (none, normal and aggressive) in https://codereview.chromium.org/1914963002/.
The flag will be used to call WebSettings::setV8CacheStrategiesForCacheStorage().
- When the flag is "none", we don't store the V8 code cache in CacheStorage.
- When the flag is "normal", V8 code cache will be stored when the script is loaded twice in 72 hours. This behavior is same as V8 code cache in HTTPCache and implemented in V8ScriptRunner.
- When the flag is "aggressive", V8 code cache will be stored when the script is loaded for the first time.
BUG=581613
Committed: https://crrev.com/244fe932fce068141e9c52c9f8969b57eb6ccf8c
Cr-Commit-Position: refs/heads/master@{#392522}
Patch Set 1 : #Patch Set 2 : rebase #
Total comments: 4
Patch Set 3 : incorporated vogelheim's comment #
Total comments: 3
Patch Set 4 : use V8CacheOptionsCode #Patch Set 5 : add comments in render_process_messages.h #
Total comments: 2
Messages
Total messages: 24 (11 generated)
|