near / near-explorer

NEAR blockchain explorer
https://explorer.near.org/
Apache License 2.0
85 stars 53 forks source link

Refactor: search handler #1140

Closed luixo closed 1 year ago

luixo commented 1 year ago

It doesn't make much sense to make a bunch of requests on every search request (they are batched, but anyway), we can have just one handler controlled from backend side. Also, two of the requests got simplified to just checking existence instead of full scaled fetch of all the data.

github-actions[bot] commented 1 year ago

Bundle size diff

Type Old size New size Diff
Client 2.94 MB 2.94 MB -918 B (-0.03%)
Server 574.19 KB 573.21 KB -995 B (-0.17%)