To improve performance, we should probably do some of the following:
Cache the lyrics after they are found
Cache site for an artist (On the assumption that while crawling a site, it has some page specific for all songs from an artist; I am unsure how feasible this is)
Prefetch lyrics for suggested videos to the right of the current playing video
Prefetch lyrics for other videos on the page (E.g. if on Trending page)
Web worker for crawling each lyric site
Web worker for checking each YouTube video location for information such as title
Note: Not sure where to cache yet. Could be in process, in the browser storage, a cookie?
To improve performance, we should probably do some of the following:
Note: Not sure where to cache yet. Could be in process, in the browser storage, a cookie?