I like this approach to static assets, where each file's name is changed to include the hash of the file's contents on deployment. But I've never implemented it myself, because I can't figure out a good way to refer to those static assets in my templates.
simonw, if you're listening, how do you solve this problem?
simonw, if you're listening, how do you solve this problem?
How do you go from, e.g.,
<link rel="stylesheet" href="/style.css">
to
<link rel="stylesheet" href="/style.{current-hash}.css">
?