routify.dev
routify.dev copied to clipboard
Include hash in main.js filename
All the JS files on the site have a hash in their name except for main.js. It'd be nice if this one could also have a hash in its name. Then you could set a long-lived cache expiration on all the JS files. I normally use routify.dev as my example of how a Routify site should be setup since it's the most obviously maintained, high profile, and open source example that I'm aware of, so it'd be great to have as many best practices on it as possible :smile:
Heya! If this is still relevant can you tell me more about what you mean? @benmccann
I mean like main.ac5328e.js so that the filename changes when the contents change and the file can be cached forever
Ah, @jakobrosenberg