near-wallet icon indicating copy to clipboard operation
near-wallet copied to clipboard

feat: MYNW-88 Cache for Indexer requests

Open lapkoshka opened this issue 2 years ago • 2 comments

The main idea is save the contract-helper from searching through the entire history of the blockchain. Each next request, we send the last timestamp, while accumulating data on the client.

  • cache indexer response every 30 sec
  • accumulate indexer response to IndexedDb cache and concatenate it with prevously

lapkoshka avatar Jul 24 '22 15:07 lapkoshka

Deploy request for near-wallet-staging pending review.

Visit the deploys page to approve it

Name Link
Latest commit f18c5f2be374132a8fe26f99ac0be55b32f95cfb

netlify[bot] avatar Jul 24 '22 15:07 netlify[bot]

Deploy request for glittering-pavlova-0e9247 pending review.

Visit the deploys page to approve it

Name Link
Latest commit f18c5f2be374132a8fe26f99ac0be55b32f95cfb

netlify[bot] avatar Jul 24 '22 15:07 netlify[bot]

@roshaans No, try to clean DevTools/Application/IndexedDB, my version is okay - repeated request every 30 sec at restarting page

lapkoshka avatar Aug 31 '22 11:08 lapkoshka

New PR

lapkoshka avatar Sep 01 '22 14:09 lapkoshka