How can you cache-bust static assets with Deno Fresh?
Let’s say you have a static global.css file in your project served at `https://example.com/styles/global.css`. For optimal performance, you will probably want browsers and CDNs to cache this file. However, when you update the file at a later date, there is a risk the browser or CDN serves up the stale, cached version instead of your new one. Cache-busting is a technique to avoid this happening. Deno Fresh provides a neat solution here. When you add a link in your markup to a CSS file or other resource (in the `static` folder) update the link. Change href=`/styles/global.css` to `href={asset("/styles/fonts.css")}`. You can import the `asset` function from `$fresh/runtime.ts`. It adds a hash to the linked path in your markup, so a stale cached version never gets served.