Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cache SW Kill File #4652

Merged
merged 2 commits into from Aug 22, 2016
Merged

Conversation

jridgewell
Copy link
Contributor

Allows setting the cache-service-worker-kill "experiment" config. When set, the service worker will self destruct, returning us to the dark pre-SW days.

Fixes #4649.

Allows setting the `cache-service-worker-kill` "experiment" config. When
set, the service worker will self destruct, returning us to the dark
pre-SW days.
* limitations under the License.
*/

import '../../third_party/babel/custom-babel-helpers';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do we need the babel helpers for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local testing. This is essentially a noop in prod files.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@erwinmombay
Copy link
Member

@jridgewell LGTM

@jridgewell jridgewell merged commit b35f988 into ampproject:master Aug 22, 2016
@jridgewell jridgewell deleted the cache-sw-kill branch August 22, 2016 21:27
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
* Add Cache SW Kill File

Allows setting the `cache-service-worker-kill` "experiment" config. When
set, the service worker will self destruct, returning us to the dark
pre-SW days.

* fix presubmit
mityaha pushed a commit to ooyala/amphtml that referenced this pull request Nov 30, 2016
* Add Cache SW Kill File

Allows setting the `cache-service-worker-kill` "experiment" config. When
set, the service worker will self destruct, returning us to the dark
pre-SW days.

* fix presubmit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants