Options
All
  • Public
  • Public/Protected
  • All
Menu

运行于 ServiceWorker 线程中的资源缓存插件

Hierarchy

  • AssetsCacheSW

Implements

  • ServiceWorkerPlugin

Index

Constructors

Properties

name: "@glacierjs/plugin-assets-cache" = PLUGIN_NAME
options: Options
router: Router

Methods

  • getCurrentRoutes(): Record<string, string>[]
  • onFetch(context: FetchContext): Promise<void>
  • onUninstall(): Promise<void>

Generated using TypeDoc