podexit
    Preparing search index...

    Interface CacheOptions

    interface CacheOptions {
        directory: string;
        now?: () => Date;
        refresh?: boolean;
        ttlMs?: number;
    }
    Index
    directory: string
    now?: () => Date
    refresh?: boolean

    Ignore cached entries and fetch again (the fresh answers are still stored).

    ttlMs?: number

    Entries younger than this are used without asking the network. Default: 24 hours.