Back to Puppeteer

HTTPResponse.fromCache() method

website/versioned_docs/version-24.40.0/api/puppeteer.httpresponse.fromcache.md

19.2.2233 B
Original Source

HTTPResponse.fromCache() method

True if the response was served from either the browser's disk cache or memory cache.

Signature

typescript
class HTTPResponse {
  abstract fromCache(): boolean;
}

Returns:

boolean