Ledouble
Ledouble3w ago

Ledouble - Hello, I haven't found any documenta...

Hello, I haven't found any documentation on the cahe time of the Return node... What is it for and how can I use it?
Solution:
You can give the cache time value which is in seconds, and it will set the cache time in response header and you can use this in your frontend (client) side only which runs on browser. https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
MDN Web Docs
HTTP caching - HTTP | MDN
The HTTP cache stores a response associated with a request and reuses the stored response for subsequent requests.
Jump to solution
3 Replies
Gaurav Chadha
Gaurav Chadha3w ago
Hi @Ledouble the cache time is used to temporarily store the api's data and response over the request network for the specified time. We'll update the documentation to better explain this with usage.
Ledouble
Ledouble3w ago
Thanks for your response @Gaurav Chadha, How can I use cache time on an api trigger?
Solution
Gaurav Chadha
Gaurav Chadha3w ago
You can give the cache time value which is in seconds, and it will set the cache time in response header and you can use this in your frontend (client) side only which runs on browser. https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
MDN Web Docs
HTTP caching - HTTP | MDN
The HTTP cache stores a response associated with a request and reuses the stored response for subsequent requests.