Closed setoelkahfi closed 3 years ago
It's not a "live" widget, so you have to refresh the page to see updates, if that's what you mean.
Another thing is that I set the following Cache-Control
headers:
res.setHeader('Cache-Control', 's-maxage=60, stale-while-revalidate');
Yeah, I think it was the cache. I reload the page after playing a new track.
Thanks for this! Why does my widget not get updated whenever I finished listening to a new track? Is it the current implementation? I guess it's more a question than an issue.