2

In REST we can cache responses by URL, but in JSON-RPC all data a passed in body, so how can we cache responses in JSON-RPC? Is it possible to cache responses on client?

piet.t
  • 11,718
  • 21
  • 43
  • 52
Romper
  • 2,009
  • 3
  • 24
  • 43
  • Possible duplicate of [Is it possible to cache POST methods in HTTP?](http://stackoverflow.com/questions/626057/is-it-possible-to-cache-post-methods-in-http) – Joe May 22 '17 at 08:48

1 Answers1

0

If you are using the JSON-RPC from a browser then you can make a cache with local storage and it will better because actually cashing is always sophisticated thing.

Sergey Ponomarev
  • 2,947
  • 1
  • 33
  • 43