fcl-base: TServiceWorkerApplication: comments

This commit is contained in:
mattias 2022-03-31 15:11:04 +02:00
parent 32705d4659
commit b3319c4d4a
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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}