How to implement Idempotency In Netlify Functions?

Hello Netlify Developer Community!

I’d like to improve Netlify Function performance and response consistency by implementing idempotency keys or methods. I haven’t found any resources online for Netlify Specifically. Does Netlify support idempotency keys/cached responses out of the box or is the implementation up to each developer?

Thank you!

Functions are not cached by default as they could return dynamic data. Implementing caching is up to the user.