Index: dart/site/try/app.yaml |
diff --git a/dart/site/try/app.yaml b/dart/site/try/app.yaml |
index 4d6864d454b49e88da72d0d5f2cd728c2065560c..70674076be4d68750b6883ffe2b9350a5bf5ab7f 100644 |
--- a/dart/site/try/app.yaml |
+++ b/dart/site/try/app.yaml |
@@ -6,10 +6,19 @@ |
# https://developers.google.com/appengine/docs/python/config/appconfig |
application: try-dart-lang |
-version: 5-sdk1-0 |
+version: 7 |
kustermann
2014/01/15 01:24:23
I think you should change "version: 7" to "version
ahe
2014/01/15 14:09:38
I changed it to:
version: remember to edit app.ya
|
runtime: python27 |
api_version: 1 |
threadsafe: yes |
+ |
+# Set "Cache-Control" and "Expires" HTTP headers to only cache for one second. |
+# We do this because we frequently push new changes and rely on AppCache for |
+# caching. Once files are installed in AppCache, the site launches |
+# immediately. |
+# |
+# Problem: PageSpeed Insights doesn't realize that we use AppCache and keeps |
+# nagging about caching. |
+# Soluion: Ignore its advice about "Leverage browser caching". |
kasperl
2014/01/14 15:37:33
Soluion -> Solution.
ahe
2014/01/15 14:09:38
Done.
|
default_expiration: 1s |
handlers: |
@@ -34,12 +43,15 @@ handlers: |
upload: (.*\.(html|js|png|css|dart|json)) |
secure: never |
-- url: /css/fonts/ |
- static_dir: font |
+- url: /css/fonts/fontawesome-webfont.woff |
+ static_files: fontawesome-webfont.woff |
+ upload: fontawesome-webfont.woff |
secure: never |
-error_handlers: |
- - file: static/not_found.html |
+- url: .* |
kustermann
2014/01/15 01:24:23
Shouldn't this be "/.*" ? [I don't think it can e
ahe
2014/01/15 14:09:38
It works without the slash.
|
+ static_files: not_found.html |
+ upload: not_found.html |
+ secure: never |
libraries: |
- name: webapp2 |