antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Optimize postProcessing pass #73

Closed bebraw closed 8 years ago

bebraw commented 9 years ago

We might want to provide cheerio for postProcess plugins. The advantage of doing this is that it allows us to optimize its execution somewhat (ie. just one Cheerio instance per page + cache queries).

bebraw commented 8 years ago

My current thinking is that we probably want to drop Cheerio altogether. It's far better to hook into markdown-it-loader. It will take some work to it properly but it should perform far better.