gildas-lormeau/SingleFile

Reddit pages are 60 MB - 90 MB

gitressa opened this issue · 13 comments

Describe the bug
Thanks for a great add-on, it's really nice to have.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Reddit page
  2. Save the page
  3. See that it is 50-90 MB

Expected behavior
I would expect it to be 2-3 MB.

Environment

  • OS: Ubuntu 20.04
  • Browser: Firefox
  • Version: 1.22.40

Unfortunately, for some reasons I cannot explain, the developers decided to inline and duplicate all the stylesheets in the new version of Reddit and it inevitably leads to this kind of result. For example, https://www.reddit.com/r/webdev/ contains more than 600 stylesheets. For the moment I don't see how I can get around this problem, apart from saving pages while logged in on Reddit.

Thanks for a fast answer. It also happens when you are logged in.

iG8R commented

Same issue here... it is incomprehensible how 1 page can be ~90MB...