Open FichteFoll opened 1 year ago
Hi, not sure if it's brilliant or stupid solution, but I found that simply removing all query parameters from url fixes the problem. 🤔
Not sure if it's a proper way as they still have an issue in their search results, but for all links I found and also in DOM of Kitsu
search applying this workaround fixes the issue. 🚀
Here is a screenshot of original search results:
and here is a screenshot of the same search results when updated src
attribute:
Similarly here is an original image using a link copied from your comment:
and here is the same image, but without query parameters in it's url:
As you can see this applies to up-to-date data as well as the urls having many years. If I can help with something else just let me know, but my replies may be late because of arm injury. 💪
Via #665, it appears that URLs to images from kitsu have an expiration time that prevents us from loading and displaying them on-demand in the UI.
Excerpt of a response:
Response when accessing this URL:
We'll need to think of something different to get re-usable images. Either re-request a new URL whenever we need one and the previous one has expired or cache the thumbnails aggressively on disk. I'd prefer the former, combined with caching if that's not happening already (didn't check).