Kirby Assets Refresh - SHUT DOWN

I’ve worked with gulp-rev and gulp-rev-outdated on a big project, not really fond of it but it works (somewhat…) and if you have that kind of technical requirements I guess it helps.

One pitfall with gulp-rev (and any similar approach) is that you’ll probably forgot to use it for parts of your assets, e.g. you used it for CSS and JS but not for your SVG sprites or some of the layout images -> bam, disconnect between your styles or scripts and the files they reference.

For small projects I’m happy with adding a query string to asset URLs, even a manually managed, global one, or a per-file one based on filemtime (as in Get path to assets/images).

1 Like