interface SourceCacheEntry

Cache entry for a compiled source

Properties

source: string

Source URL or path

Hash of the content

rules: string[]

Compiled rules

timestamp: number

Compilation timestamp

optional
etag: string

ETag from HTTP response (if applicable)

optional
lastModified: string

Last-Modified from HTTP response (if applicable)

Usage

import { type SourceCacheEntry } from ".";