puppeteer/website/versioned_docs/version-20.1.0/api/puppeteer.httpresponse.fromcache.md
release-please[bot] ead413b560
chore: release main (#10117)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-05-03 18:37:42 +02:00

20 lines
274 B
Markdown

---
sidebar_label: HTTPResponse.fromCache
---
# HTTPResponse.fromCache() method
True if the response was served from either the browser's disk cache or memory cache.
#### Signature:
```typescript
class HTTPResponse {
fromCache(): boolean;
}
```
**Returns:**
boolean