Make asset busting depend on deployment environment
default tip
3 weeks ago, Jason Allan
Make asset busting depend on deployment environment

At the moment CSS and JS resources have a cache busting tag at the end of their href/src to force a reload when re-rendered. This is deependant on an unused setting, and is present in prod as well, this is really only a feature for development. So, it's been a PITA when diffing outputs

Testing Done:
I've run the `hugo` and `hugo serve` commands with deployment env between prod and dev, and behaviour is as expected

Reviewed at
title: Nest Launch
date: 2020-01-14T02:55:01.000Z
- blog
- website
lastmod: 2020-01-14T02:55:01.000Z
Greetings, Programs!
We're excited to announce the launch of our brand new website. The new site
aims to bring the [old]( website and the wiki from
[]( into a single website.
Development has been led by Jason Allan who is a new contributor to the
We haven't transfered everything over yet, so if you're looking for something
and the search isn't being helpful, all of the old content is still available
at [old]( and
We have a lot more going on in the near future so be sure to watch this
section or subscribe to our [RSS](/rss.xml) feed with your RSS aggregator of
Finally, if you would like to contribute please see the
[contributing](/development/contributing/) page.
Gary "grim" Kramlich