Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Issue 2533203002: New Tab Page: chrome-search://local-ntp/ files should not be cachable (Closed)

Created:
4 years ago by Takashi Toyoshima
Modified:
4 years ago
Reviewers:
Marc Treib
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

New Tab Page: chrome-search://local-ntp/ files should not be cachable Under chrome-search://local-ntp/, there is a file that can be modified dynamically, e.g., config.js, and such a file should not be cachable so that reload operations can load new data correctly. This wasn't a problem before because Chrome's reload revalidates all resources forcibly, but recent change made a normal reload revalidate not all-resources, but only main resource. BUG=668454 Committed: https://crrev.com/501ba310da88bd1b84202f3f4c9b38cc5e6ea899 Cr-Commit-Position: refs/heads/master@{#435166}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M chrome/browser/search/local_ntp_source.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/search/local_ntp_source.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Takashi Toyoshima
Can you take a look?
4 years ago (2016-11-29 06:51:10 UTC) #3
Marc Treib
lgtm Thanks! Could there be other URLDataSource implementations that (incorrectly) rely on the old reload ...
4 years ago (2016-11-29 14:52:22 UTC) #8
Takashi Toyoshima
I filed a new bug crbug.com/669776 to track similar regressions. I will create a spreadsheet ...
4 years ago (2016-11-30 05:54:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533203002/20001
4 years ago (2016-11-30 05:56:08 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 08:26:27 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-30 08:28:14 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/501ba310da88bd1b84202f3f4c9b38cc5e6ea899
Cr-Commit-Position: refs/heads/master@{#435166}

Powered by Google App Engine
This is Rietveld 408576698