Learning About Service Workers
I am currently learning about Working With Service Workers. Service workers allow you to make a website faster, for those who visit a website more often, or offline, in situations where connectivity may be unreliable. Some of the code used can be found on my github page. MDN Web Docs also have useful information about working with service workers.
With service workers you can web first, retrieve from cache and stale while refresh: