Prashant Palikhe

Results 36 comments of Prashant Palikhe

@Baroshem @vejja For us, the biggest bottlenecks were the nitro plugins for the SRI and CSP nonce, specifically the body section. Since that can be quite huge. We use web...

@vejja > but this seems to crash workers Is this reproducible easily? Maybe [parse5](https://www.npmjs.com/package/parse5) can be used? Cheerio seems to [use it internally](https://www.npmjs.com/package/parse5). But, if the crashing of workers/exceeding of...

I think we can better just use regex? ```js for (const section of sections) { html[section] = html[section].map((htmlString) => { return htmlString.replace(//g, ``); }); } ``` Seems to be significantly...

That sounds good. And what do you guys think about allowing configuration of the sections to loop through. Use case: if as a developer, I am confident that the body...

Also, before we make the regex changes, it would be great to profile the CPU/memory consumption of the regex based apprach and compare with Cheerio. Any ideas on how to...

Hey there, @Baroshem Sorry, due to some personal issues, I have not been able to code much the last month and a half. I will test it out soon. But,...