Static files on swarming appear to be not cachable |
|||
Issue descriptionThis seems to affect both the new UI and the old UI Things like; - https://chromium-swarm.appspot.com/default.css - https://chromium-swarm.appspot.com/third_party/bootstrap/css/bootstrap-3.1.0.min.css - Request URL:https://chromium-swarm.appspot.com/third_party/jquery/jquery-1.11.0.min.js - https://chromium-swarm.appspot.com/res/js/js.js All have the header; - cache-control:no-cache, must-revalidate This makes the UI much slower than it could be.
,
Nov 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/f47d1dcc84b711d1d3289e0ca3147a3be7e1d349 commit f47d1dcc84b711d1d3289e0ca3147a3be7e1d349 Author: kjlubick <kjlubick@google.com> Date: Tue Nov 22 18:49:45 2016 Enable caching for some Swarming UI content BUG= 667631 Review-Url: https://codereview.chromium.org/2525703002 [modify] https://crrev.com/f47d1dcc84b711d1d3289e0ca3147a3be7e1d349/appengine/swarming/app.yaml [modify] https://crrev.com/f47d1dcc84b711d1d3289e0ca3147a3be7e1d349/appengine/swarming/handlers_frontend.py
,
Nov 28 2016
The caching is now enabled on chromium-swarm. https://httpsecurityreport.com/?report=https://chromium-swarm.appspot.com/res/elements.html shows : Cache-Control public, max-age=3600 Etag "4GHZ7A" https://httpsecurityreport.com/?report=https://chromium-swarm.appspot.com/default.css shows Cache-Control public, max-age=600 Etag "4GHZ7A"
,
Nov 28 2016
,
Nov 29 2016
Etags should *only* be used for things which change dynamically. Anything like default.css should not have them.
,
Nov 29 2016
App Engine adds the etags, not me.
,
Nov 29 2016
It's a "feature" |
|||
►
Sign in to add a comment |
|||
Comment 1 by kjlubick@google.com
, Nov 22 2016