Note from 7 February 2022

After several years using #Eleventy, I still struggle with dates and timezones… 😅

Being in UTC+02:00, I don't want content written one day at 1am to be "seen" as published the day before at 11pm:

  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.