S
S
SheetDream
Search…
Caching
SheetDream supports caching GET requests that return multiple results. This can dramatically increase the performance of your GET requests (from 2x up to 10x faster), at the expense of returning slightly old data.
To enable caching for a particular GET request, simply add the following parameter to your API request:
1
https://api.plutodream.com/sheetdream/api/:project_id/your_sheet/?cache=30
Copied!
The cache parameter is the number of seconds that you'd like SheetDream to cache that API call's result for, and you can specify up to 5 minutes (300 seconds). In the above example, we're caching the result for 30 seconds.
You can specify a cache parameter for an individual record GET request, though you will not notice as large of a performance improvement for this particular request:
1
https://api.plutodream.com/sheetdream/api/:project_id/your_sheet/467d9bef-0321-4763-9858-638940e14f26?cache=30
Copied!
Copy link