| Index: dart/site/try/app.yaml
|
| diff --git a/dart/site/try/app.yaml b/dart/site/try/app.yaml
|
| index e8044ff5dcee14ac601f352e5e188120978bf7ba..2e53e66aed3771927e4613938b863c53283af6c9 100644
|
| --- a/dart/site/try/app.yaml
|
| +++ b/dart/site/try/app.yaml
|
| @@ -102,36 +102,6 @@ handlers:
|
| upload: index.html
|
| secure: always
|
|
|
| -# The nossl file below help work around bugs/features in interaction between
|
| -# AppEngine and AppCache. When a return user goes to http://try.dartlang.org/
|
| -# (no SSL), AppCache will serve index.html from cache, try to fetch the old
|
| -# manifest (nossl.appcache) and the files listed in the manifest. In additation
|
| -# the files listed in the manifest, it will also fetch index.html, as it is the
|
| -# master. However, we want index.html to be redirected to the SSL version, and
|
| -# AppCache sees this redirection as a network error. When an error occurs,
|
| -# AppCache will keep serving the old page. So we configure nossl.appcache to
|
| -# provide fallbacks for index.html and leap.dart.js. The fallback for
|
| -# leap.dart.js is nossl.js which will take care of redirecting to
|
| -# https://try.dartlang.org/ (with SSL) using JavaScript. Unfortunately, Chrome
|
| -# seems to keep the old version of index.html cached indefinitely. The only way
|
| -# to avoid that appears to serve up a different index.html depending on if it
|
| -# is a secure connection or not. This would require a Python script, and
|
| -# something we may consider implementing in the future.
|
| -- url: /nossl.appcache
|
| - static_files: nossl.appcache
|
| - upload: nossl.appcache
|
| - secure: optional
|
| -
|
| -- url: /nossl.js
|
| - static_files: nossl.js
|
| - upload: nossl.js
|
| - secure: optional
|
| -
|
| -- url: /nossl.html
|
| - static_files: nossl.html
|
| - upload: nossl.html
|
| - secure: optional
|
| -
|
| - url: /ssl.appcache
|
| static_files: ssl.appcache
|
| upload: ssl.appcache
|
|
|