Note from 29 March 2020

I guess (without proof) #Eleventy builds including assets bundling/minifying could be accelerated with memoization.

Did this for the slugify filter (I use @sindresorhus's one instead of the default) called multiple times with the same string:
https://github.com/nhoizey/nicolas-hoizey.com/blob/master/src/_utils/slugify.js


  1. Some things I wish people mentioned when writing about #Eleventy usage, moreover concerning assets bundling (Sass, JavaScript, etc.):

    • Does it run only once per asset, or once per template where the asset is used?
    • Does it run before or after HTML is generated?
    • Does it manage hashes for cache busting?

    This is really important for sites with many contents/pages, build speed, and site performance.