interface GraphqlApqOptions
Since 0.3.0

APQ (Automatic Persisted Queries) options.

Properties

optional
ttlSeconds: number

TTL in seconds for cache-store entries. Default 300.

optional
maxEntries: number

Maximum entries in the in-memory LRU fallback. Default 1000.

Usage

import { type GraphqlApqOptions } from "graphql-plugin/src/index.ts";