Class ServiceWorker

All Implemented Interfaces:
Serializable, IClusterable

public class ServiceWorker extends JavaScriptResourceReference
The actual service worker which applies the URLs of the offline cache entries to the client side cache with the given name.
Author:
Tobias Soloschenko.
See Also:
  • Constructor Details

    • ServiceWorker

      protected ServiceWorker(String cacheName, List<OfflineCacheEntry> offlineCacheEntries)
      Creates the service worker
      Parameters:
      cacheName - the name of the cache
      offlineCacheEntries - the entries to be cached
  • Method Details