Basic Demo - a sample covering a basic, common use case. It precaches a set of local resources in a versioned cache, and maintains another cache that's populated at runtime as additional resources are requested. Simple registration - a bare-bones sample that simply performs service worker registration, with placeholders for various event handlers. Detailed registration - a sample that provides det