Module

x/fresh/tests/deps.ts>Page#setCacheEnabled

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setCacheEnabled
import { Page } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/deps.ts";

Toggles ignoring cache for each request based on the enabled state. By default, caching is enabled.

Parameters

optional
enabled: boolean
  • sets the enabled state of cache

Returns

Promise<void>