You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #54, we decided to lazy load favicons to avoid bad image loading UX. However, an additional enhancement would be to cache the favicon images so that we don't need to load them every time we visit a site.
In #54, we decided to lazy load favicons to avoid bad image loading UX. However, an additional enhancement would be to cache the favicon images so that we don't need to load them every time we visit a site.
Suggested by @vezwork in #54 (comment):
We can do image serialization (for caching) using FileReader.readAsDataURL() along with the fetch API:
reference: https://stackoverflow.com/a/20285053/5425899 "How can I convert an image into Base64 string using JavaScript?"
The text was updated successfully, but these errors were encountered: