You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use cheerio to handle lots of html,and found that htmlparser2 is much faster than parse5 which cheerio used by default, and saving about 40% cpu usage when handling lots of html. But in parse5, it will automatically append <html>, <head>, <body> if those tags are not included in the html input, we depend on this behavior.
Consider to add an options to support this feature?
The text was updated successfully, but these errors were encountered:
@xusd320 I am a bit worried that this would be a complex feature, especially because of all of the alignment that happens in parse5 (eg. propagating title tags from the body to the head).
Could you give a quick rundown on how you expect this to work, and (if you know already) how it will be implemented?
We use cheerio to handle lots of html,and found that htmlparser2 is much faster than parse5 which cheerio used by default, and saving about 40% cpu usage when handling lots of html. But in parse5, it will automatically append <html>, <head>, <body> if those tags are not included in the html input, we depend on this behavior.
Consider to add an options to support this feature?
The text was updated successfully, but these errors were encountered: