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

Update readme.md #23

Merged
merged 1 commit into from
Apr 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ deployment cycle. It is a non-configurable module and has the defaults based on
3. [Asset caching module](https://github.com/ampproject/amp-sw/tree/master/src/modules/asset-caching) is a lazily loaded and optional, it can be used to cache the static assets like images/ fonts etc. You can give the reg-exp for matching assets and the caching strategy(CACHE_FIRST/NETWORK-FIRST/CACHE-ONLY) for the same.
4. [Offline page module](https://github.com/ampproject/amp-sw/tree/master/src/modules/offline-page) can be used to introduce an offline page to your web app. AMP_SW only caches the documents which the user has already visited. If in the absence of the network the user tries to navigate to a page which is not available in the cache, this offline page is shown as a backup to let the user know what happened.
5. [Link prefetch module](https://github.com/ampproject/amp-sw/tree/master/src/modules/link-prefetch) provides link prefetch capabilities to the browsers which do not support `link rel=prefetch`. You can use this to prefetch links and serve them from the service worker cache for the next time.

While `amp-sw` is divided into smaller sub modules, the core funationality of this project relies on the [Workbox](https://github.com/GoogleChrome/workbox) project. The `amp-sw` modules also extend parts of the Workbox project.