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

Unified Diff: appengine/swarming/app.yaml

Issue 2525703002: Enable caching for some Swarming UI content (Closed)
Patch Set: y Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/swarming/handlers_frontend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/app.yaml
diff --git a/appengine/swarming/app.yaml b/appengine/swarming/app.yaml
index d74ef1997401789c0009d877e3fc8e1192b4469e..6b02c76c7a3cdfe2bedc6b291e604a92f37898cc 100644
--- a/appengine/swarming/app.yaml
+++ b/appengine/swarming/app.yaml
@@ -11,6 +11,8 @@ automatic_scaling:
min_pending_latency: 50ms
max_pending_latency: 250ms
+default_expiration: "10m"
+
handlers:
- url: /_ah/spi/.*
script: main.endpoints_app
@@ -74,6 +76,7 @@ handlers:
static_files: ui/build/\1
upload: ui/build/(.+)
secure: always
+ expiration: "1h"
http_headers:
Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
X-Frame-Options: deny
« no previous file with comments | « no previous file | appengine/swarming/handlers_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698