Rest API caching

Hello

i’ve been looking for a long time how to cache a rest api and i had found this post: https://forums.phpfreaks.com/topic/311750-rest-api-caching/?tab=comments#comment-1582627
But I don’t understand Redis yet maybe someone could create an example where a rest api is included

Hello

Can you tell us more what you are trying to achieve with a concrete example of “your data/use case”?

In this Java method here you can see that the code is:

Let me know if you need more information

Tug