{"action":"created","issue":{"url":"https://api.github.com/repos/idno/Known/issues/873","labels_url":"https://api.github.com/repos/idno/Known/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/idno/Known/issues/873/comments","events_url":"https://api.github.com/repos/idno/Known/issues/873/events","html_url":"https://github.com/idno/Known/issues/873","id":71623419,"number":873,"title":"Minify static ressources","user":{"login":"paulcmal","id":3382716,"avatar_url":"https://avatars.githubusercontent.com/u/3382716?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcmal","html_url":"https://github.com/paulcmal","followers_url":"https://api.github.com/users/paulcmal/followers","following_url":"https://api.github.com/users/paulcmal/following{/other_user}","gists_url":"https://api.github.com/users/paulcmal/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcmal/subscriptions","organizations_url":"https://api.github.com/users/paulcmal/orgs","repos_url":"https://api.github.com/users/paulcmal/repos","events_url":"https://api.github.com/users/paulcmal/events{/privacy}","received_events_url":"https://api.github.com/users/paulcmal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T15:35:21Z","updated_at":"2015-04-28T16:19:00Z","closed_at":null,"body":"Some ressources like JS and CSS shipped with Known are already [minified](https://en.wikipedia.org/wiki/Minification_%28programming%29), but some are not.\r\n\r\nMinification could spare some network usage and therefore allow Known to be loaded faster. On my own [test instance](https://cmal.info), for instance, I've reduced the size of files loaded by the browser on the homepage by 17%, from 960KB to 800KB (this includes a background image and a profile picture).\r\n\r\nCould maybe all the JS and CSS ressources included in Known be also available in minified forms? Also, could these minified versions be used by default when loading the web pages?\r\n\r\nYou may find scripts online (like [here](http://www.tero.co.uk/scripts/minify.php)) to help you automate the process."},"comment":{"url":"https://api.github.com/repos/idno/Known/issues/comments/97124849","html_url":"https://github.com/idno/Known/issues/873#issuecomment-97124849","issue_url":"https://api.github.com/repos/idno/Known/issues/873","id":97124849,"user":{"login":"benwerd","id":624104,"avatar_url":"https://avatars.githubusercontent.com/u/624104?v=3","gravatar_id":"","url":"https://api.github.com/users/benwerd","html_url":"https://github.com/benwerd","followers_url":"https://api.github.com/users/benwerd/followers","following_url":"https://api.github.com/users/benwerd/following{/other_user}","gists_url":"https://api.github.com/users/benwerd/gists{/gist_id}","starred_url":"https://api.github.com/users/benwerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwerd/subscriptions","organizations_url":"https://api.github.com/users/benwerd/orgs","repos_url":"https://api.github.com/users/benwerd/repos","events_url":"https://api.github.com/users/benwerd/events{/privacy}","received_events_url":"https://api.github.com/users/benwerd/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T16:19:00Z","updated_at":"2015-04-28T16:19:00Z","body":"Re: automation, probably, but it would be better to do it manually for now,\nI think. It's a good idea. Note that Known now supports hosting static\nresources offsite, and we should probably make more of this.\n\nOn Tuesday, April 28, 2015, Marcus Povey <notifications@github.com> wrote:\n\n> <https://github.com/idno/Known/issues/873>Can't you trigger minify from\n> travis scripts? Seem to remember that you could...\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/idno/Known/issues/873#issuecomment-97124354>.\n>\n\n\n-- \nBen Werdmuller\n<http://goog_1933028737>\nbenwerd.com | werd.io\n\n+1 (312) 488-9373\n"}}