4 ms·
Try creating one with deeply nested tags. Recursively adding more nodes via scripting is another memory waster. From there you might consider additional changes
by palmfacehn 1y ago
Try creating one with deeply nested tags. Recursively adding more nodes via scripting is another memory waster. From there you might consider additional changes to the CSS that cause the document to repaint.
- meinersbur 1y agoIt will also compress worse, making it less like a zip bomb and more like a huge document. Nothing against that, but the article's trick is just to stop a parser to bail early.
- palmfacehn 1y agoFor my usage, the compressed size difference with deeply nested divs was negligible.