|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
916 bytes
|
| Line | |
|---|
| 1 | import { PartialCacheNameDetails } from './_private/cacheNames.js';
|
|---|
| 2 | import './_version.js';
|
|---|
| 3 | /**
|
|---|
| 4 | * Modifies the default cache names used by the Workbox packages.
|
|---|
| 5 | * Cache names are generated as `<prefix>-<Cache Name>-<suffix>`.
|
|---|
| 6 | *
|
|---|
| 7 | * @param {Object} details
|
|---|
| 8 | * @param {Object} [details.prefix] The string to add to the beginning of
|
|---|
| 9 | * the precache and runtime cache names.
|
|---|
| 10 | * @param {Object} [details.suffix] The string to add to the end of
|
|---|
| 11 | * the precache and runtime cache names.
|
|---|
| 12 | * @param {Object} [details.precache] The cache name to use for precache
|
|---|
| 13 | * caching.
|
|---|
| 14 | * @param {Object} [details.runtime] The cache name to use for runtime caching.
|
|---|
| 15 | * @param {Object} [details.googleAnalytics] The cache name to use for
|
|---|
| 16 | * `workbox-google-analytics` caching.
|
|---|
| 17 | *
|
|---|
| 18 | * @memberof workbox-core
|
|---|
| 19 | */
|
|---|
| 20 | declare function setCacheNameDetails(details: PartialCacheNameDetails): void;
|
|---|
| 21 | export { setCacheNameDetails };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.