Dynamic JSON API caching

Hello, community

I want to cache my API using Cloudflare. Because my API is one time setting its change in month one time.

So what I want to do it’s I want to cache API like other CSS, js. I will custom hook when API update we will purge that specific link API.

It’s something like this please check.
https://www.fastly.com/blog/api-caching-part-i

If it’s possible using workers then how I can do it.

This topic was automatically closed after 30 days. New replies are no longer allowed.