If you are generating sites with many thousands of pages, you may already know that @goHuguo has incredibly fast pre-rendering speeds.
Here, @regisphilibert describes some crafty additional optimisations to speed things up even more by caching partials.
https://regisphilibert.com/blog/2019/12/hugo-partial-series-part-1-caching-with-partialcached/