Hello!
On Fri, Nov 4, 2016 at 7:37 AM, Itamar Gilad wrote:
> I saw the Cloudflare blog post about on-the-fly HTML rewrites (
https://blog.cloudflare.com/how-we-brought-https-everywhere-to-the-cloud-part-1/), which I can safely assume was implemented using openresty :-).
> The entire post is very interesting, but I found the mention of a streaming HTML parser especially exciting. While we all know it could be done, I'm not aware of any current open source libraries that support streaming processing (and would be suitable for this use case).
>
> Does anyone know of any projects I should look into?
It's possible to build simple streaming HTML/CSS/etc parsers atop
streaming regex engines like my sregex library:
https://github.com/openresty/sregex
OpenResty (note, not Cloudflare!) will probably provide such parsers
in the near future.
> Does anyone know if Cloudflare has any plans to open source their parser?
>
Not that I'm aware of :)
Regards,
-agentzh