{"action":"created","issue":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/1823","repository_url":"https://api.github.com/repos/zotonic/zotonic","labels_url":"https://api.github.com/repos/zotonic/zotonic/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/zotonic/zotonic/issues/1823/comments","events_url":"https://api.github.com/repos/zotonic/zotonic/issues/1823/events","html_url":"https://github.com/zotonic/zotonic/issues/1823","id":264830577,"number":1823,"title":"Minification of javascript and css","user":{"login":"mmzeeman","id":1024972,"avatar_url":"https://avatars0.githubusercontent.com/u/1024972?v=4","gravatar_id":"","url":"https://api.github.com/users/mmzeeman","html_url":"https://github.com/mmzeeman","followers_url":"https://api.github.com/users/mmzeeman/followers","following_url":"https://api.github.com/users/mmzeeman/following{/other_user}","gists_url":"https://api.github.com/users/mmzeeman/gists{/gist_id}","starred_url":"https://api.github.com/users/mmzeeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmzeeman/subscriptions","organizations_url":"https://api.github.com/users/mmzeeman/orgs","repos_url":"https://api.github.com/users/mmzeeman/repos","events_url":"https://api.github.com/users/mmzeeman/events{/privacy}","received_events_url":"https://api.github.com/users/mmzeeman/received_events","type":"User","site_admin":false},"labels":[{"id":349144227,"url":"https://api.github.com/repos/zotonic/zotonic/labels/discuss","name":"discuss","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-12T06:45:25Z","updated_at":"2017-10-12T14:58:32Z","closed_at":null,"author_association":"OWNER","body":"Our clients are calling us constantly that we should minify our javascript and css files. They do this because they use the Google Pagespeed insights tool and look at the \"tips\" google gives them.\r\n\r\nPersonally I hate this tool, because it doesn't even measure the speed of the page, but all clients use it.\r\n\r\nThis is what it looks like when you run the pagespeed insight tool on zotonic.com\r\n\r\n<img width=\"1163\" alt=\"screen shot 2017-10-12 at 08 28 29\" src=\"https://user-images.githubusercontent.com/1024972/31482160-60f35db6-af27-11e7-9d97-696c518cd0b2.png\">\r\n\r\nFrom the looks of it things look really bad.\r\n\r\nWhen you use a tool which really measures the speed of your page things look very different.\r\n\r\n<img width=\"1119\" alt=\"screen shot 2017-10-12 at 08 31 54\" src=\"https://user-images.githubusercontent.com/1024972/31482505-ea65ee3c-af28-11e7-8429-10093dd997e3.png\">\r\n\r\nSome clients think they get a fast site and a higher pagerank by fixing all the tips mentioned by the Google pagespeed insights tool. How are you dealing with this? Sometimes I think we should just minify the javascript and css in the lib tags to prevent them from calling us.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/comments/336164017","html_url":"https://github.com/zotonic/zotonic/issues/1823#issuecomment-336164017","issue_url":"https://api.github.com/repos/zotonic/zotonic/issues/1823","id":336164017,"user":{"login":"mmzeeman","id":1024972,"avatar_url":"https://avatars0.githubusercontent.com/u/1024972?v=4","gravatar_id":"","url":"https://api.github.com/users/mmzeeman","html_url":"https://github.com/mmzeeman","followers_url":"https://api.github.com/users/mmzeeman/followers","following_url":"https://api.github.com/users/mmzeeman/following{/other_user}","gists_url":"https://api.github.com/users/mmzeeman/gists{/gist_id}","starred_url":"https://api.github.com/users/mmzeeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmzeeman/subscriptions","organizations_url":"https://api.github.com/users/mmzeeman/orgs","repos_url":"https://api.github.com/users/mmzeeman/repos","events_url":"https://api.github.com/users/mmzeeman/events{/privacy}","received_events_url":"https://api.github.com/users/mmzeeman/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T14:58:32Z","updated_at":"2017-10-12T14:58:32Z","author_association":"OWNER","body":"It could support automatic minification via `z_file_entry`. It already supports async compression. It would also be possible to add minification here."}}
{"actor":{"display_login":"mmzeeman"}}