Rocky_Mountain_Vending/.pnpm-store/v10/files/5b/4dc74e584ab5e88c004315c36d6fe51163cc4d11279d205ca9bd0d7a229178935c63ec14c4ef7557358ada627eb6690154e6a837f71ee82949164dc00bbbb0
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

59 lines
No EOL
2.4 KiB
Text

export default CacheHeaders;
declare class CacheHeaders extends Audit {
/**
* @return {LH.Audit.ScoreOptions}
*/
static get defaultOptions(): LH.Audit.ScoreOptions;
/**
* Computes the percent likelihood that a return visit will be within the cache lifetime, based on
* Chrome UMA stats see the note below.
* @param {number} maxAgeInSeconds
* @return {number}
*/
static getCacheHitProbability(maxAgeInSeconds: number): number;
/**
* Return max-age if defined, otherwise expires header if defined, and null if not.
* @param {Map<string, string>} headers
* @param {ReturnType<typeof parseCacheControl>} cacheControl
* @return {?number}
*/
static computeCacheLifetimeInSeconds(headers: Map<string, string>, cacheControl: ReturnType<typeof parseCacheControl>): number | null;
/**
* Given a network record, returns whether we believe the asset is cacheable, i.e. it was a network
* request that satisifed the conditions:
*
* 1. Has a cacheable status code
* 2. Has a resource type that corresponds to static assets (image, script, stylesheet, etc).
*
* Allowing assets with a query string is debatable, PSI considered them non-cacheable with a similar
* caveat.
*
* TODO: Investigate impact in HTTPArchive, experiment with this policy to see what changes.
*
* @param {LH.Artifacts.NetworkRequest} record
* @return {boolean}
*/
static isCacheableAsset(record: LH.Artifacts.NetworkRequest): boolean;
/**
* Returns true if headers suggest a record should not be cached for a long time.
* @param {Map<string, string>} headers
* @param {ReturnType<typeof parseCacheControl>} cacheControl
* @return {boolean}
*/
static shouldSkipRecord(headers: Map<string, string>, cacheControl: ReturnType<typeof parseCacheControl>): boolean;
/**
* @param {LH.Artifacts} artifacts
* @param {LH.Audit.Context} context
* @return {Promise<LH.Audit.Product>}
*/
static audit(artifacts: LH.Artifacts, context: LH.Audit.Context): Promise<LH.Audit.Product>;
}
export namespace UIStrings {
let title: string;
let failureTitle: string;
let description: string;
let displayValue: string;
}
import { Audit } from '../audit.js';
import parseCacheControl from 'parse-cache-control';
//# sourceMappingURL=uses-long-cache-ttl.d.ts.map