-
In our Sablier indexers, we are caching the token data so that we're not spamming the RPC with identical requests for the same token: I was wondering if we can ditch that caching system and instead use the new Related: sablier-labs/indexers#84 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
That's our final goal, but we are not there yet. You can definitely start using it together with loaders to optimise external calls performance, but you'll need to keep you cache persistence logic for some time. In the next sprints, we aim to make the Effect API automatically persist all the calls and keep the data between reindexing. After it's shipped you'll be able to remove your custom solution. |
Beta Was this translation helpful? Give feedback.
That's our final goal, but we are not there yet. You can definitely start using it together with loaders to optimise external calls performance, but you'll need to keep you cache persistence logic for some time.
In the next sprints, we aim to make the Effect API automatically persist all the calls and keep the data between reindexing. After it's shipped you'll be able to remove your custom solution.