{"action":"created","issue":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/2390","repository_url":"https://api.github.com/repos/domoticz/domoticz","labels_url":"https://api.github.com/repos/domoticz/domoticz/issues/2390/labels{/name}","comments_url":"https://api.github.com/repos/domoticz/domoticz/issues/2390/comments","events_url":"https://api.github.com/repos/domoticz/domoticz/issues/2390/events","html_url":"https://github.com/domoticz/domoticz/pull/2390","id":322963019,"number":2390,"title":"Runtime compression of .js and .html","user":{"login":"emontnemery","id":14281572,"avatar_url":"https://avatars1.githubusercontent.com/u/14281572?v=4","gravatar_id":"","url":"https://api.github.com/users/emontnemery","html_url":"https://github.com/emontnemery","followers_url":"https://api.github.com/users/emontnemery/followers","following_url":"https://api.github.com/users/emontnemery/following{/other_user}","gists_url":"https://api.github.com/users/emontnemery/gists{/gist_id}","starred_url":"https://api.github.com/users/emontnemery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emontnemery/subscriptions","organizations_url":"https://api.github.com/users/emontnemery/orgs","repos_url":"https://api.github.com/users/emontnemery/repos","events_url":"https://api.github.com/users/emontnemery/events{/privacy}","received_events_url":"https://api.github.com/users/emontnemery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-05-14T20:11:38Z","updated_at":"2018-05-19T06:35:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/domoticz/domoticz/pulls/2390","html_url":"https://github.com/domoticz/domoticz/pull/2390","diff_url":"https://github.com/domoticz/domoticz/pull/2390.diff","patch_url":"https://github.com/domoticz/domoticz/pull/2390.patch"},"body":"As discussed in #2254.\r\n\r\nImplemented solution:\r\n- .js and .html will be automatically compressed with gzip\r\n- compressed version will be automatically recreated if it is outdated\r\n- gzipped files stored separately, and ignored by git\r\n\r\n\r\nPossible improvement points:\r\n- Do something more advanced than just checking modification time"},"comment":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/comments/390383835","html_url":"https://github.com/domoticz/domoticz/pull/2390#issuecomment-390383835","issue_url":"https://api.github.com/repos/domoticz/domoticz/issues/2390","id":390383835,"user":{"login":"gizmocuz","id":2265299,"avatar_url":"https://avatars1.githubusercontent.com/u/2265299?v=4","gravatar_id":"","url":"https://api.github.com/users/gizmocuz","html_url":"https://github.com/gizmocuz","followers_url":"https://api.github.com/users/gizmocuz/followers","following_url":"https://api.github.com/users/gizmocuz/following{/other_user}","gists_url":"https://api.github.com/users/gizmocuz/gists{/gist_id}","starred_url":"https://api.github.com/users/gizmocuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gizmocuz/subscriptions","organizations_url":"https://api.github.com/users/gizmocuz/orgs","repos_url":"https://api.github.com/users/gizmocuz/repos","events_url":"https://api.github.com/users/gizmocuz/events{/privacy}","received_events_url":"https://api.github.com/users/gizmocuz/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T06:35:31Z","updated_at":"2018-05-19T06:35:31Z","author_association":"CONTRIBUTOR","body":"@emontnemery, i will look into this solution today. I might change the cache folders name (default to www_cache), and make this configurable as well (maybe some want to place them in /tmp/domoticz_cache)\r\n "}}
{"actor":{"display_login":"gizmocuz"}}