We experience 403 from Defillama getting data. We are already working on a custom API to cache the data, but the underlying issue is that their response weights 8mb. If we just move this to our own server and we make a lot of calls, we'll have issues maintaining it.
Also, its bad user experience. We are making a lot of calls, not just for the markets screen, also for the charts, downloading 8mb of data each time.
We are then going to cache the data locally with indexedDB and make the calls to Defillama (first, then to our own server) each X amount of time.
We experience
403
from Defillama getting data. We are already working on a custom API to cache the data, but the underlying issue is that their response weights 8mb. If we just move this to our own server and we make a lot of calls, we'll have issues maintaining it.Also, its bad user experience. We are making a lot of calls, not just for the markets screen, also for the charts, downloading 8mb of data each time.
We are then going to cache the data locally with
indexedDB
and make the calls to Defillama (first, then to our own server) each X amount of time.