1225 moen crtlidge - THIS IS IT!
THIS IS IT
cache.addAll treatment of '/' '/index.html', and other assets.
Chrome docs on service worker lifecycle.
scope refers to where the request ORIGINATES, not the request URL - that may be outside of scope
Solution to write a service worker using VERSION + implementing “install“ event. These 2 together forces the browser to clear old cache on version change.
You have two options: Switch from your current cache-first strategy in your fetch handler to a strategy like stale-while-revalidate. Use a build-time tool to generate a service worker that changes each time one of your local resources changes, which will trigger the install and activate handlers, giving them a chance to update your users' caches with the latest copies of your assets. These tools work by generating hashes of each local file and inlining those hashes into the generated service worker script.
Best description of how service worker should handle caching - network first, cache first etc.
Only two events… In essence, there are only two events that will automatically trigger a PWA update: A change in the linked manifest.json; e.g. a changed icon file or a changed scope or start_url. A one-character change in the controlling service-worker.js. E.g., if you store the version number in a const in this file and change it, an update of the PWA will be triggered.
Most common: http: https: ftp: file: mailto: tel: sms: skype: data: irc: ... URI schemes should be registered with the Internet Assigned Numbers Authority (IANA), although non-registered schemes are used in practice.
Best overview of systemctl admin files
Use NGIX
ddclient config on DynU
USE ONE OF THOSE 6 PROVIDERS, AND TRANSFER DOMAINS (MANAGEMENT, NOT REGISTRATION) TO IT FROM GRAPE.COM. PROBABLY USE DynU
Provides list of dns sites that support dyndns. I NEED TO CHANGE DNS NAMES AT MY REGISTRAR (GRAPE.CA) TO ONE OF THE NAMES ON THE DYNDNS LIST.
Uses DYNU.COM examples
Example of a link on my page that uses the web+tweet scheme. The “data“ populates new tweet. a href=“web+tweet:Hello%20Treehouse“>Tweet 'Hello Treehouse'< /a Clicking this link would trigger a GET request to: https://mytwitterapp.com/tweet?data=web%2Btweet%3AHello%2520Treehouse
Example explains that registerProtocolHandler allows Alice to do POST on Bob's page. So Alice can e.g. subscribe to Bob just by visiting Bob's page, without remembering details, URLs, etc
Can create personal Web projects here
Explains how the PWA “protocol_handlers“ manifest declaration is related to the (very similar) registerProtocolHandler
This wiki is for connecting the W3C communities (Web developers, implementers, people who make the W3C specifications).