frontendnorth / fen

https://www.frontendnorth.com
2 stars 0 forks source link

Cache busting for static assets #43

Closed amyvbenson closed 5 years ago

amyvbenson commented 5 years ago

We need to add this as part of the build process to make sure people aren't served out of date assets.

iparr commented 5 years ago

Good call. I'll work this into the build process.

Any docs on what Github pages likes here? I'm used to using Nginx.

amyvbenson commented 5 years ago

I don't think githb pages cares, it's not doing any build just serving the static pages.

iparr commented 5 years ago

For my reference: I can't use strings like assets/css/all.7634534.css, I will have to use a query string like assets/css/all.css?v=7634534

This isn't ideal and may be the excuse I've needed to experiment with Netlify.

I think I will make the CMS add the strings for us (probably).