{"action":"created","issue":{"url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/106","repository_url":"https://api.github.com/repos/Vheissu/aurelia-configuration","labels_url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/106/comments","events_url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/106/events","html_url":"https://github.com/Vheissu/aurelia-configuration/issues/106","id":303316804,"number":106,"title":"Caching of the .json config file","user":{"login":"ToadRage","id":11057096,"avatar_url":"https://avatars1.githubusercontent.com/u/11057096?v=4","gravatar_id":"","url":"https://api.github.com/users/ToadRage","html_url":"https://github.com/ToadRage","followers_url":"https://api.github.com/users/ToadRage/followers","following_url":"https://api.github.com/users/ToadRage/following{/other_user}","gists_url":"https://api.github.com/users/ToadRage/gists{/gist_id}","starred_url":"https://api.github.com/users/ToadRage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToadRage/subscriptions","organizations_url":"https://api.github.com/users/ToadRage/orgs","repos_url":"https://api.github.com/users/ToadRage/repos","events_url":"https://api.github.com/users/ToadRage/events{/privacy}","received_events_url":"https://api.github.com/users/ToadRage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T00:58:08Z","updated_at":"2018-03-20T05:23:58Z","closed_at":null,"author_association":"NONE","body":"I had a situation where my config file was being cached locally in the browser and causing issues across multiple changes / releases.\r\n\r\nI am not sure if this is the best way to combat this issue, I came up with the following solution and just wanted to clarify if this is the best way to combat the issue.\r\n```javascript\r\n.plugin(PLATFORM.moduleName('aurelia-configuration'), config =>{\r\n        config.setConfig('config.json?v=' + Guid.raw());\r\n      })\r\n```\r\nAs you can see I am using the Guid library to get a unique reference.\r\n\r\nIf this is indeed an appropriate way to deal with the issue, perhaps it is something that could be built into the plugin itself.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/comments/374480005","html_url":"https://github.com/Vheissu/aurelia-configuration/issues/106#issuecomment-374480005","issue_url":"https://api.github.com/repos/Vheissu/aurelia-configuration/issues/106","id":374480005,"user":{"login":"djensen47","id":527865,"avatar_url":"https://avatars2.githubusercontent.com/u/527865?v=4","gravatar_id":"","url":"https://api.github.com/users/djensen47","html_url":"https://github.com/djensen47","followers_url":"https://api.github.com/users/djensen47/followers","following_url":"https://api.github.com/users/djensen47/following{/other_user}","gists_url":"https://api.github.com/users/djensen47/gists{/gist_id}","starred_url":"https://api.github.com/users/djensen47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djensen47/subscriptions","organizations_url":"https://api.github.com/users/djensen47/orgs","repos_url":"https://api.github.com/users/djensen47/repos","events_url":"https://api.github.com/users/djensen47/events{/privacy}","received_events_url":"https://api.github.com/users/djensen47/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T05:23:58Z","updated_at":"2018-03-20T05:23:58Z","author_association":"NONE","body":"+1 for adding this to the library.\r\n\r\nCaching busting really should be addressed by the library. Unless I'm mistaken, there doesn't even appear to be a way to bundle the json config file into the app-bundle."}}
{"actor":{"display_login":"djensen47"}}