Skip to content

How to cache GraphQL requests?

My Magento 2.4 isn’t caching requests I use many times, like storeConfig via PWA Studio.

My request header:

x-cache-hits: 0

How could I cache this kind of request to optimize the speed of my page loads?