brief-rss/brief

reduce favicon memory consumption

Opened this issue · 2 comments

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.

Does the browser not cache?

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.