service-worker
Here are 1,238 public repositories matching this topic...
The documentation doesn't mention a way to change the name of the generated file.
It does mention gulp, but I am using Angular 4's angular-cli to generate my assets and then run sw-precache separately to generate the service worker.
the packages.json file consists of this command:
"sw": "sw-precache --config=sw-precache-config.js --verbose"
And the sw-precache-config.js file has the
As caught by @OliverJAsh:
Hey! The fixed background is causing the whole page to be repainted on scroll, FYI
Are you aware of any different behavior when a PWA (using offline-plugin) is added to the home screen using "Add to Home Screen" on Chrome/Android or Safari/iOS?
I'm having problems with the app getting stuck using the cached version when it was installed and never updating.
I even have offline-plugin responseStrategy set to network-first but it seems to always use the cached version after add
-
Updated
Jan 30, 2020
Awesome list of progressive web apps! (PR welcomed ;))
-
Updated
May 19, 2020
-
Updated
Oct 24, 2018
StreamSaver writes stream to the filesystem directly asynchronous
-
Updated
Apr 7, 2020 - JavaScript
As PWA add to home screen workflow is different on each platform/browsers, we could add a button on the interface to trigger the installation. It will standardize add to home screen workflow for all browsers.
See official doc
for more informations
This project is using sw-precache instead of the latest @angular/service-worker and ng-pwa-tools.
At Google I/O last week, they announced that https://github.com/GoogleChrome/workbox would be the preferred option over sw-precache going forward.
However, Angular seems to be creating a better integrated SW and PWA story using the tools mentioned above. That said, it would be interesting to
https://github.com/facebookincubator/create-react-app + Progressive Web App goodness
-
Updated
May 17, 2017 - HTML
According to the spec, Client is not a child of the EventTarget class.
Also the Notification class is a child of the EventTarget class.
FWIW TypeScript agrees with what is in the spec. I'd be happy to supply a PR wi
-
Updated
Apr 12, 2020 - JavaScript
if you modify the swDest option to generate the serviceworker in other path, this not affect the path to generate the development service-worker.
I need to see the code to fix this, but would be nice to have this in the documentation.
this is the fix to generate serviceworker in development in the right path.
dontAutoRegisterSw: true,
devSwSrc: {
from: './public/sw-dev.js'
Environment
- Browser: Chrome
- Version of service-mocker: 2.1.2
Expected Behavior
The hash of a URL should not be part of the url when processing.
Current Behavior
Hash is a part of the url when processing.
When browsers send an HTTP request they omit the hash part of the URL.
It appears that the fetch event sends the Request object with the url as is, no modificati
Budgeting - React + Redux + Webpack (tree shaking) Sample App
-
Updated
Jan 28, 2019 - JavaScript
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
-
Updated
May 16, 2020 - JavaScript
Some accessibility issues to fix:
- HTML more semantic in order to represent the information. For example, my opinion is the future weather should be a table, and the information of the current day should have a definition list.
- Hide the dialog if is not visible.
- Use alternate texts for the icons.
A smart and beautiful markdown editor.
-
Updated
May 15, 2018 - Vue
Super fast progressive web app with small footprint & minimal dependancies
-
Updated
Aug 12, 2017 - JavaScript
Use Service Worker with the Rails asset pipeline
-
Updated
Jan 10, 2020 - Ruby
The landing page should be served over planktos if the browser supports it. Also a live demo section should be added that informs the viewer that the page was downloaded from peers.
Website Tweaks
-
Updated
May 29, 2019
-
Updated
Oct 11, 2018 - JavaScript
The Lighthouse PWA audit flags a Web App Manifest that:
- Is lacking an icon.
- Has an icon that is less than 512px square.
- Is not a PNG.
These requirements should be enforced in the Customizer when selecting a site icon, and/or a warning notice should be shown with the Customizer control when the selected icon does not satisfy the requirements. This should also be added as a Site He
Watch for releases on GitHub → gitpunch.com
-
Updated
May 21, 2020 - JavaScript
Improve this page
Add a description, image, and links to the service-worker topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the service-worker topic, visit your repo's landing page and select "manage topics."


There's a subtle way that the "Offer a page reload for users" recipe can go wrong, in that the
could, under some circumstances, end up sending that message to the already-
activeservice worker, not the service worker that's currently in th