{"action":"reopened","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/9619","labels_url":"https://api.github.com/repos/piwik/piwik/issues/9619/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/9619/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/9619/events","html_url":"https://github.com/piwik/piwik/issues/9619","id":128090842,"number":9619,"title":"versioning of piwik.js to bypass user's cache on changes - to make fixes beeing used asap","user":{"login":"hpvd","id":5681880,"avatar_url":"https://avatars.githubusercontent.com/u/5681880?v=3","gravatar_id":"","url":"https://api.github.com/users/hpvd","html_url":"https://github.com/hpvd","followers_url":"https://api.github.com/users/hpvd/followers","following_url":"https://api.github.com/users/hpvd/following{/other_user}","gists_url":"https://api.github.com/users/hpvd/gists{/gist_id}","starred_url":"https://api.github.com/users/hpvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpvd/subscriptions","organizations_url":"https://api.github.com/users/hpvd/orgs","repos_url":"https://api.github.com/users/hpvd/repos","events_url":"https://api.github.com/users/hpvd/events{/privacy}","received_events_url":"https://api.github.com/users/hpvd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/answered","name":"answered","color":"ffffff"},{"url":"https://api.github.com/repos/piwik/piwik/labels/Easy%20pick","name":"Easy pick","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-22T06:02:39Z","updated_at":"2016-01-26T23:39:54Z","closed_at":null,"body":"Since sometimes changes in piwik's js is nessary (fixes and optimizations)\r\none should made it possible to bring these changes to every visitor especially also to returning visitors as soon as possible (asap = instantly on availibility).\r\nAt this time caching of visitor's browser slows usage of new version down\r\ne.g. https://github.com/piwik/piwik/issues/9607#issuecomment-173673850\r\n\r\nThe problem is that this file is often chached by the browser and reused for some time.\r\n\r\nOne solution can be an intelligent versioning of this file / the file hirachie construct around.\r\nEverytime there is a change, a recognizable new version is provided and with this loaded and used by the browser.\r\n\r\nSome general thoughts about this can be found here\r\nhttps://stackoverflow.com/questions/8224736/javascript-versioning-to-avoid-caching-difference-in-these-practices"}}