|
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:
807 bytes
|
| Line | |
|---|
| 1 | import './_version.js';
|
|---|
| 2 | /**
|
|---|
| 3 | * Takes in a URL, and returns the corresponding URL that could be used to
|
|---|
| 4 | * lookup the entry in the precache.
|
|---|
| 5 | *
|
|---|
| 6 | * If a relative URL is provided, the location of the service worker file will
|
|---|
| 7 | * be used as the base.
|
|---|
| 8 | *
|
|---|
| 9 | * For precached entries without revision information, the cache key will be the
|
|---|
| 10 | * same as the original URL.
|
|---|
| 11 | *
|
|---|
| 12 | * For precached entries with revision information, the cache key will be the
|
|---|
| 13 | * original URL with the addition of a query parameter used for keeping track of
|
|---|
| 14 | * the revision info.
|
|---|
| 15 | *
|
|---|
| 16 | * @param {string} url The URL whose cache key to look up.
|
|---|
| 17 | * @return {string} The cache key that corresponds to that URL.
|
|---|
| 18 | *
|
|---|
| 19 | * @memberof workbox-precaching
|
|---|
| 20 | */
|
|---|
| 21 | declare function getCacheKeyForURL(url: string): string | undefined;
|
|---|
| 22 | export { getCacheKeyForURL };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.