mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 19:27:45 +02:00
fcl-base: TServiceWorkerApplication: comments
This commit is contained in:
parent
32705d4659
commit
b3319c4d4a
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user