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,400
  • 21
  • 42
  • 50
Romper
  • 1,679
  • 3
  • 19
  • 40
  • 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,678
  • 1
  • 30
  • 41