> GraphQL can work with GET
So I've heard, which is why I chose my wording carefully. Does anyone actually do that?
Apollo has a persisted queries option. And there's a PR open on relay modern for it. At least for queries, both of these let's you store the query itself on the server then use a GET request with a query hash and variables.
We use this at First Look Media on some of our sites.
Yes, we do [1]
We use GET for queries and POST for mutations. Though we are not caching our GETs atm.
This means, you can cache and you can do whatever you want with caching rules (source: We are running it in production for a long time)
2) This is largely up to you. You can have it as a thin skin or you can rely more on your server side logic.
For us, we chose to have the frontend only handle presentation logic, the rest is handled on the server side.
For example, a lot of our stuff relied heavily on ACL, the frontend needs to expect to NOT get any data on specific fields, that's the only responsible for it. The rest is on the server side.