HTML Minification #5

Open
opened 2023-06-05 21:36:29 +00:00 by newsch · 0 comments
newsch commented 2023-06-05 21:36:29 +00:00 (Migrated from github.com)

The scraper crate added in #3 doesn't implement minification.

It uses the html5ever crate internally.
There are a number of html minification crates out there. My guess is one that can use the html5ever datastructure without re-parsing would be fastest, but that may not be true.

The `scraper` crate added in #3 doesn't implement minification. It uses the [`html5ever` crate](https://github.com/servo/html5ever) internally. There are [a number of html minification crates out there](https://lib.rs/search?q=html+minification). My guess is one that can use the html5ever datastructure without re-parsing would be fastest, but that may not be true.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/wikiparser#5
No description provided.