3 ms·
Isn't the cache situation somewhat solved via defining your RPC as either a "query" or "mutation" (for example in systems such as https://trpc.io/ https://trpc.
by nullandvoid 4y ago
Isn't the cache situation somewhat solved via defining your RPC as either a "query" or "mutation" (for example in systems such as https://trpc.io/ https://trpc.io/ > https://trpc.io/docs/caching https://trpc.io/docs/caching)?
- chubot 4y agoHow would proxies and load balancers know about this? You would have to encode your app-specific logic in every proxy or load balancer. In HTTP, they already exist. The top two comments in this thread explain this more: https://news.ycombinator.com/item?id=34228122 https://news.ycombinator.com/item?id=34228122
- still_grokking 4y ago> How would proxies and load balancers know about this? By using a proper protocol. Not everything is nail just because the modern thin-client is only able to wield the HTTP hammer.