Cache a function's response with the Cache API

Store a response a function builds with the runtime Cache API, return it on later requests, and delete it when the data behind it changes.

Last updated

View as Markdown Agent setup