Skip to content
#

service-worker

Here are 1,264 public repositories matching this topic...

workbox
jeffposnick
jeffposnick commented Apr 1, 2020

Library Affected:
workbox-build

We don't have any prominently featured "real world" examples of using generateSW with runtimeCaching to produce a service worker that is focused on runtime caching.

The documentation for the feature, at https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-build#.RuntimeCachingEntry, is rather buried.

This is relate

saleemepoch
saleemepoch commented Nov 11, 2017

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

offline-plugin
mattgaspar
mattgaspar commented Jul 31, 2019

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

bento-starter
Splaktar
Splaktar commented May 23, 2017

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

nathanredblur
nathanredblur commented Dec 24, 2019

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'
shlomiassaf
shlomiassaf commented Feb 16, 2018

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

pwa-wp
westonruter
westonruter commented Dec 12, 2019

The Lighthouse PWA audit flags a Web App Manifest that:

  1. Is lacking an icon.
  2. Has an icon that is less than 512px square.
  3. 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

Asarael
Asarael commented Sep 7, 2018

Describe the bug
Checkout button doesn't redirect to checkout page

To Reproduce
Steps to reproduce the behavior:

  1. Select product
  2. Select variations
  3. Click in checkout button
  4. Redirect to homepage

Expected behavior
Redirect to ckeckout page

Screenshots
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following

Improve this page

Add a description, image, and links to the service-worker topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more

You can’t perform that action at this time.