UNPKG

nuxt-multi-cache

Version:

SSR route, component and data cache for Nuxt.js

9 lines (8 loc) 242 B
import { type H3Event } from 'h3'; /** * Callback for the 'request' nitro hook. * * This adds the context objects to the event and, if enabled, serves cached * routes. */ export declare function onRequest(event: H3Event): Promise<void>;