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

Issue 1740653002: sandwich: Implements patch-wpr subcommand. (Closed)

Created:
4 years, 10 months ago by gabadie
Modified:
4 years, 9 months ago
Reviewers:
pasko, Benoit L, mattcary
CC:
chromium-reviews, gabadie+watch_chromium.org, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@i08
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sandwich: Implements patch-wpr subcommand. The patch-wpr sub-command patches all resources response headers of a WPR archive, to make sure they all will be going into the chrome cache on disk if not already in, and also takes care of making sure that this cached resources will not be invalidated or re-validated in the next 10 years. BUG=582080 Committed: https://crrev.com/4bfeb32fdb5d16888edca6eeabb694496ccf6fe7 Cr-Commit-Position: refs/heads/master@{#378452}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Addresses pasko's comments #

Total comments: 2

Patch Set 3 : Lists x-cache and Vary response headers as a TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M tools/android/loading/sandwich.py View 1 2 4 chunks +40 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
gabadie
4 years, 10 months ago (2016-02-25 09:16:59 UTC) #4
gabadie
4 years, 10 months ago (2016-02-25 09:16:59 UTC) #5
gabadie
Sorry for the double email, the form got mistakenly submitted too quickly. The sandwich patch-wpr ...
4 years, 10 months ago (2016-02-25 09:18:33 UTC) #6
mattcary
lgtm
4 years, 10 months ago (2016-02-25 14:08:30 UTC) #8
Benoit L
https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py#newcode369 tools/android/loading/sandwich.py:369: for url_entry in wpr_archive.ListUrlEntries(): Is Cache-Control the only caching ...
4 years, 10 months ago (2016-02-25 15:24:54 UTC) #9
gabadie
https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py#newcode369 tools/android/loading/sandwich.py:369: for url_entry in wpr_archive.ListUrlEntries(): On 2016/02/25 15:24:54, Benoit L ...
4 years, 10 months ago (2016-02-25 15:31:26 UTC) #10
pasko
Right, this would relax the freshness checks. However, validators can be applied as well that ...
4 years, 10 months ago (2016-02-26 15:54:48 UTC) #11
gabadie
Thanks Egor for review. And good catch for the case in-sensitiveness! I added comments as ...
4 years, 9 months ago (2016-02-29 17:45:23 UTC) #12
pasko
https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1740653002/diff/1/tools/android/loading/sandwich.py#newcode371 tools/android/loading/sandwich.py:371: if 'cache-control' in response_headers and \ On 2016/02/29 17:45:23, ...
4 years, 9 months ago (2016-03-01 00:48:10 UTC) #13
gabadie
https://codereview.chromium.org/1740653002/diff/20001/tools/android/loading/sandwich.py File tools/android/loading/sandwich.py (right): https://codereview.chromium.org/1740653002/diff/20001/tools/android/loading/sandwich.py#newcode382 tools/android/loading/sandwich.py:382: # TODO(gabadie), may need to delete ETag. On 2016/03/01 ...
4 years, 9 months ago (2016-03-01 10:17:08 UTC) #14
pasko
lgtm, thank you
4 years, 9 months ago (2016-03-01 15:41:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740653002/40001
4 years, 9 months ago (2016-03-01 15:53:51 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-01 16:37:52 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 16:38:47 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4bfeb32fdb5d16888edca6eeabb694496ccf6fe7
Cr-Commit-Position: refs/heads/master@{#378452}

Powered by Google App Engine
This is Rietveld 408576698