breathe-easy-events / breathe-easy.uk

https://breathe-easy.uk/
0 stars 0 forks source link

updated failing to break cache #6

Closed aaaaargZombies closed 3 weeks ago

aaaaargZombies commented 1 month ago

see https://github.com/breathe-easy-events/breathe-easy.uk/commit/f7808794c5beeb01fa93596ab7f27c439c457e19

Looking at https://glitch.com/edit/#!/build-excellent-websites they seem to just be adding ? and a random hash onto the end of the css filename which I suppose breaks cache but also defeats the point of cacheing.

https://github.com/Yeshwanthyk/eleventy-filter-coffee-starter/blob/master/src/_includes/layouts/base.html#L21

https://github.com/Yeshwanthyk/eleventy-filter-coffee-starter/blob/master/src/_data/global.js#L2-L8

I'm surprised there's not an out of the box 11ty answer to this like in hugo.