News for hackers. Stuff that matters.
Re:Connect-Web: TypeScript library for calling RPC servers f... by hamandcheese on Thursday August 04, 2022 @11:29PM (#32351212)
The post says it is a post-only API. I’m not sure if thats to a single URI, like graphql, or if the URI is different depending on the RPC call in use. But either way, it sounds like cacheability might not be great, which is also an issue with graphql.

That said, it’s definitely a step in the right direction, and I personally have never written an API where I even wanted the results to be cached.

Re:Connect-Web: TypeScript library for calling RPC servers f... by bufbuild on Thursday August 04, 2022 @11:45PM (#32351320)
The URI is per-RPC, specifically at /service/method, if that helps.

On cacheability, do check out https://connect.build/docs/protocol#future-extensions - it’s something we continue to put thought into to make sure we get it right.