Open SomewhatDamaged opened 4 years ago
It should compress pretty well since most of it is repeated markup. If there is no noticeable impact on loading/rendering performance in browsers and given how few images have this many tags, I don't think this change is needed.
Having so much before the opengraph data will cause a lot of unfurlers to fail (like Discord's) because they limit how much of the page they'll read.
Hmm, delayed loading wouldn't help with markup in <head>
. What we could do is move the opengraph data before <title>
or reduce the number of tags that goes into <title>
.
Is your feature request related to a problem? Please describe. Image pages where there are a lot of tags generate huge amounts of HTML. Example:
https://derpibooru.org/2276195
Describe the solution you'd like Perhaps delay-load the tag list?
Additional context The
tag-list
div of the above link is almost 4MB in size and thehead
is almost 200KB.