Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion to locally cache these frequent light-weight calls #5367

Open
vastav-adi opened this issue Dec 29, 2023 · 1 comment
Open

Suggestion to locally cache these frequent light-weight calls #5367

vastav-adi opened this issue Dec 29, 2023 · 1 comment

Comments

@vastav-adi
Copy link

Recently discovered defi-llama. Hovering over the sidebar menu seems to make api calls to the server. It is not very noticeable however I ended up making over 150+ calls just by hovering my cursor across the page.

Not sure about the best approach here, maybe there is some benefit to this approach however, it seems redundant to make so many same calls.

image

@0xngmi
Copy link
Member

0xngmi commented Jan 1, 2024

These calls are made to pre-load pages so when you click on them they load faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants