brief icon indicating copy to clipboard operation
brief copied to clipboard

reduce favicon memory consumption

Open tanriol opened this issue 6 years ago • 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.

tanriol avatar Jul 11 '19 15:07 tanriol

Does the browser not cache?

Sxderp avatar Jul 11 '19 23:07 Sxderp

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.

tanriol avatar Jul 12 '19 13:07 tanriol