How to apply a cache for queries?

How do I add cache support for DB? I did not find the description in the documentation - https://api-platform.com/.