brief-rss / brief

RSS reader extension for Firefox
Other
214 stars 44 forks source link

reduce favicon memory consumption #466

Open tanriol opened 5 years ago

tanriol commented 5 years ago

Some websites, like Livejournal, link to .ico files of a few hundred KiB in size (with bitmaps up to 128x128). In a Brief tab this quickly becomes megabytes or even tens of megabytes of strings and icons.

Consider either pre-rendering icons with low resolution or deduplicating them in some way.

Sxderp commented 5 years ago

Does the browser not cache?

tanriol commented 5 years ago

They get duplicated on message passing at least once per feed (with that favicon), and it looks like the img elements themselves are also making some copies according to the Firefox developer tools.