Tips for caching data on the edge?

Hi, every request I have to fetch discord api to check if channel is nsfw or not, since it will often used be on the same servers, it would be easier to just cache that data, any suggestions on how to do that?
Was this page helpful?