·
Added a discussion

Could someone please tell me which URLs I should include in the PWA Service Worker under 'URLs to cache on install' (each on a new line)?

  • 2292
  • 1
Comments
    • When setting up the PWA Service Worker, include only essential URLs under "URLs to cache on install." For example, stick to core URLs like the homepage, account-related pages, and critical resources that users need when offline. Avoid caching URLs with a lot of media or profiles, as this can quickly overload the device by trying to store too much data at once.

      Only add one URL at a time and test it thoroughly. Make sure it adds value without causing delays or excess storage use. You want enough cached content to keep the app functional if the user is offline, but without burdening their device with unnecessary downloads. Test each link with your phone offline and online,

      Login or Join to comment.