[Supersize] HTML Viewer: Do not cache .ndjson files when fetching from server.
The current code (using fetch() API) seems to always use cached .ndjson file, even when server is restarted (on a different .ndjson file), and Shift-Ctrl-R is used to refresh. This CL changes API use to disable cache, so when .ndjson files are loaded by data_url, refreshing the HTML viewer would fetch the up-to-date version. There does not appear to be a performance cost to this. Bug: 880671 Change-Id: I9aab99c18895dc52bc9de0ec788c1c617ec06e8f Reviewed-on: https://chromium-review.googlesource.com/1225652 Commit-Queue: Samuel Huang <huangs@chromium.org> Reviewed-by:Samuel Huang <huangs@chromium.org> Reviewed-by:
Peter Wen <wnwen@chromium.org> Reviewed-by:
agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#591290}
Showing
Please register or sign in to comment