| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
const std::string resource_url;this comes from the AI suggestion and I found it quite meaningful: The `resource_url` is part of the `key` so we actually store the duplicate string twice here. It would be an optimization to store the resource_url as an offset into the `key` string.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
const std::string resource_url;this comes from the AI suggestion and I found it quite meaningful: The `resource_url` is part of the `key` so we actually store the duplicate string twice here. It would be an optimization to store the resource_url as an offset into the `key` string.
Ah, good point. I will create another CL to do so as it requires changes in net/http/http_cache.h/cc.
Temporary marking as resolved to land this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
const std::string resource_url;Tsuyoshi Horothis comes from the AI suggestion and I found it quite meaningful: The `resource_url` is part of the `key` so we actually store the duplicate string twice here. It would be an optimization to store the resource_url as an offset into the `key` string.
Ah, good point. I will create another CL to do so as it requires changes in net/http/http_cache.h/cc.
Temporary marking as resolved to land this.
Created https://crrev.com/c/7961760.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
net/disk_cache/sql: Store resource URL in CacheEntryKey
Extend CacheEntryKey to extract and store the resource URL and its
PersistentHash when the kRendererAccessibleHttpCache feature is enabled.
Calling resource_url() or resource_url_hash() requires the feature to be
enabled (enforced via CHECK). Also adds strong alias
SqlSharedCacheUrlHash.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |