You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been using
graphQl
with POST requests usingaxios
so far which works fine as such.But I am concerned with caching and I understand that POST request are not cacheable by definition.
So,
API-Platform
has built-in support forVarnish
, but how good is that forgraphQl
?I noted that all request on
graphiQl
are POST and I attempted to make a GET request that did not work.So, the question is: is it at all possible to make GET requests to
graphQl
withAPI-Platform
? If so, how and which tools should one use?Then how to cache it, using
Varnish
or something else?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions