Enabling Caching
Caching is disabled by default. To enable caching for your requests, you can set thecache property of the openpipe object to one of the following values:
readWrite: Cache is read from and written to.readOnly: Cache is read from, but not written to.writeOnly: Cache is written to, but not read from.
op-cache header to your requests. For any of these settings, if a cache entry is not found, the request will be processed as normal.
- cURL Request
- Python
- NodeJS