amp-sw
amp-sw copied to clipboard
A drop in service worker library to help your AMP pages gain network resiliency in 1 line
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.2 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
See https://github.com/ampproject/amphtml/issues/32195 for more details
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
@kristoferbaxter
Hi amp-sw community, I've noticed that the current logic of amp-sw might cause a FCP regression on AMP sites using HTTP caching on HTML documents but also using amp-sw "as...
The offline page is currently not working for amp.dev. Here is our [serviceworker](https://amp.dev/serviceworker.js): ``` importScripts('https://cdn.ampproject.org/sw/amp-sw.js'); AMP_SW.init({ assetCachingOptions: [{ regexp: /\.(png|jpg|woff2|woff|css|js)/, cachingStrategy: 'CACHE_FIRST', }], offlinePageOptions: { url: '/offline.html', assets: [], },...
In reviewing the link-prefetch module, I realized there is quite a bit of overlap with [Quicklink](https://github.com/GoogleChromeLabs/quicklink). The link-prefetch module will prefetch links in the page that have the ~`data-prefetch`~ `data-rel=prefetch`...
The amp.dev certificate expired, which got reported in Safari as a service worker error:
@roshand reported a problem for amp.dev: https://amp.dev/documentation/components/amp-analytics/?format=websites ``` The FetchEvent for "https://amp.dev/documentation/components/amp-analytics/?format=websites" resulted in a network error response: a redirected response was used for a request whose redirect mode is...