jediswaplabs/jediswap-v2-interface

Fetch STRK rewards on our backend and serve needed data to our frontend app

Closed this issue · 1 comments

Description

I see that the request to https://kx58j6x5me.execute-api.us-east-1.amazonaws.com//starknet/fetchFile?file=qa_strk_grant.json is slow, and it can substantially slow down our app. Ofc, this response time varies and it can be normal (500 ms) or several seconds as in my example.

We could store the cached version of this file on our backend and return only the needed data to the frontend. It could be the best solution, of course. I think we could discuss what data we need at the frontend: less data - faster downloading.

image

Already done