@@ -6,7 +6,8 @@ uses
Classes, ServiceWorkerApp;
const
- YourCacheName = 'v6';
+ YourCacheName = 'v6'; // usually increased with every version
+ // The cache is specific to your domain, so no need to include your app name.
type
@@ -1,3 +1,7 @@
+{
+ A service worker functions like a proxy server, allowing to modify requests
+ and responses, and replace them with items from its own cache, and more.
+}
unit ServiceWorkerApp;
{$mode objfpc}