Software Alternatives & Reviews

Cache-busting in Eleventy: a simpler way with Sass

Sass Hugo Eleventy
  1. 1
    Syntatically Awesome Style Sheets
    Pricing:
    • Open Source
    If you use the Eleventy static site generator (SSG) and Sass to build your website, read on for some cool stuff.

    #Developer Tools #Design Tools #Javascript UI Libraries 131 social mentions

  2. 2
    Hugo is a general-purpose website framework for generating static web pages.
    Pricing:
    • Open Source
    Back in late 2020, I wrote three posts about how to perform “cache-busting” on an Eleventy site’s CSS, which ensures the vast majority of web browsers will reliably show your most up-to-date styling. In the end, I suggested a method that accomplished this through a combination of package.json scripting and build-time JavaScript runs. It worked, but it was somewhat of a time drag during dev mode. Besides, it’s a lot clunkier than how one can do it in Hugo via that SSG’s built-in asset pipeline, Hugo Pipes. Thus, I’ve continued to look for a better way.

    #Static Site Generators #Blogging #Blogging Platform 353 social mentions

  3. Simpler static site generator.
    Pricing:
    • Open Source
    If you use the Eleventy static site generator (SSG) and Sass to build your website, read on for some cool stuff.

    #Blogging #Static Site Generators #CMS 35 social mentions

Discuss: Cache-busting in Eleventy: a simpler way with Sass

Log in or Post with