getCacheKeyForURL.d.ts 448 B

1234567891011121314
  1. import { PrecacheRouteOptions } from '../_types.js';
  2. import '../_version.js';
  3. /**
  4. * This function will take the request URL and manipulate it based on the
  5. * configuration options.
  6. *
  7. * @param {string} url
  8. * @param {Object} options
  9. * @return {string} Returns the URL in the cache that matches the request,
  10. * if possible.
  11. *
  12. * @private
  13. */
  14. export declare const getCacheKeyForURL: (url: string, options: PrecacheRouteOptions) => string | void;