Hacker News new | ask | show | jobs
by ec109685 1919 days ago
We solve the cacheability part by supporting aliases for queries by extended the GraphQL console to support saving a query with an alias.

Also, with gzip, the size of json is not a big deal given redundant fields compress well.

1 comments

Cacheability isn't just about the transfer, it's also about decreasing server load in a lot of applications. An expensive query might return a few bytes of JSON, but may be something you want to avoid hitting repeatedly.
Sorry, they were addressing the two points from the comment above. I agree cacheability and transfer size are two separate aspects.