Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Page.prototype.setCacheEnabled
import { Page } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/Page.d.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>