Hello Xano Community,
I'm currently working on an API in Xano, and I need to ensure that my response caching is handled correctly. Specifically, I want to invalidate or update the cache whenever a POST
, PATCH
, or PUT
request is made.
What headers should I use to invalidate or update the cached responses for a
GET
request after a data modification?Is there a different way to force an update of the response cache in Xano aside from using headers?
I tried calling a GET
request inside a POST
to invalidate the cache with the following headers:
Cache-Control: no-cache, no-store, must-revalidate;
Pragma: no-cache;
Expires: 0
However, this approach didn’t work as expected.
Any insights or examples would be greatly appreciated!
Thank you!