{"action":"created","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/3517","labels_url":"https://api.github.com/repos/bolt/bolt/issues/3517/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/3517/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/3517/events","html_url":"https://github.com/bolt/bolt/issues/3517","id":75769820,"number":3517,"title":"Static assets aren't cache busted","user":{"login":"Pinpickle","id":3238878,"avatar_url":"https://avatars.githubusercontent.com/u/3238878?v=3","gravatar_id":"","url":"https://api.github.com/users/Pinpickle","html_url":"https://github.com/Pinpickle","followers_url":"https://api.github.com/users/Pinpickle/followers","following_url":"https://api.github.com/users/Pinpickle/following{/other_user}","gists_url":"https://api.github.com/users/Pinpickle/gists{/gist_id}","starred_url":"https://api.github.com/users/Pinpickle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pinpickle/subscriptions","organizations_url":"https://api.github.com/users/Pinpickle/orgs","repos_url":"https://api.github.com/users/Pinpickle/repos","events_url":"https://api.github.com/users/Pinpickle/events{/privacy}","received_events_url":"https://api.github.com/users/Pinpickle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T22:56:15Z","updated_at":"2015-05-12T23:35:06Z","closed_at":null,"body":"This becomes quite apparent with big updates like the 2.2 one and some things just don't work/look weird because the JS/CSS files from older version of Bolt are being served.\r\n\r\nThe tech savvy know just to do a hard refresh but for editors that isn't obvious, and it could be a long time before the browser fixes it without being told to do so.\r\n\r\nWe can fix this by appending fingerprints to all of the static assets that are hashes of the file. It's a little trickier with Twig (I ended up using a custom asset function), but definitely doable. [Grunt plugins](https://github.com/cbas/grunt-rev) exist for making these fingerprinted files."},"comment":{"url":"https://api.github.com/repos/bolt/bolt/issues/comments/101460119","html_url":"https://github.com/bolt/bolt/issues/3517#issuecomment-101460119","issue_url":"https://api.github.com/repos/bolt/bolt/issues/3517","id":101460119,"user":{"login":"cdowdy","id":5969974,"avatar_url":"https://avatars.githubusercontent.com/u/5969974?v=3","gravatar_id":"","url":"https://api.github.com/users/cdowdy","html_url":"https://github.com/cdowdy","followers_url":"https://api.github.com/users/cdowdy/followers","following_url":"https://api.github.com/users/cdowdy/following{/other_user}","gists_url":"https://api.github.com/users/cdowdy/gists{/gist_id}","starred_url":"https://api.github.com/users/cdowdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdowdy/subscriptions","organizations_url":"https://api.github.com/users/cdowdy/orgs","repos_url":"https://api.github.com/users/cdowdy/repos","events_url":"https://api.github.com/users/cdowdy/events{/privacy}","received_events_url":"https://api.github.com/users/cdowdy/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T23:35:06Z","updated_at":"2015-05-12T23:35:06Z","body":"It's not really drop in I don't think... I could be wrong though.  \r\n\r\nIt's probably the tech debt of incorporating it into bolt and dealing with the bugs that may crop up... \r\n\r\nPlus dealing with assets is hard haha. Like you've noticed. [Silex assetic](https://github.com/mheap/Silex-Assetic) package is ready for a composer include but there's lots of little hooks you have to set up. I haven't looked at incorporating it into bolt in a few months though I got sidetracked "}}