Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.setCacheEnabled
Re-export
import { Page } from "https://deno.land/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>