{"action":"opened","issue":{"url":"https://api.github.com/repos/h2o/h2o/issues/655","labels_url":"https://api.github.com/repos/h2o/h2o/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/h2o/h2o/issues/655/comments","events_url":"https://api.github.com/repos/h2o/h2o/issues/655/events","html_url":"https://github.com/h2o/h2o/issues/655","id":124268458,"number":655,"title":"Additional mime types should be recognised as is_compressible","user":{"login":"utrenkner","id":8254715,"avatar_url":"https://avatars.githubusercontent.com/u/8254715?v=3","gravatar_id":"","url":"https://api.github.com/users/utrenkner","html_url":"https://github.com/utrenkner","followers_url":"https://api.github.com/users/utrenkner/followers","following_url":"https://api.github.com/users/utrenkner/following{/other_user}","gists_url":"https://api.github.com/users/utrenkner/gists{/gist_id}","starred_url":"https://api.github.com/users/utrenkner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utrenkner/subscriptions","organizations_url":"https://api.github.com/users/utrenkner/orgs","repos_url":"https://api.github.com/users/utrenkner/repos","events_url":"https://api.github.com/users/utrenkner/events{/privacy}","received_events_url":"https://api.github.com/users/utrenkner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-29T21:09:29Z","updated_at":"2015-12-29T21:09:29Z","closed_at":null,"body":"The is_compressible attribute is used to determine, which assets would benefit from gzipping. Today, I put in a pull request to include application/javascript.\r\n\r\nNow, I went through the list of mime-types in lib/handler/mimemap/defaults.c.h and found these following file/mime types which should also be well compressible, but which do not yet receive the is_compressible attribute:\r\n\r\n```\r\natom => application/atom+xml\r\njs => application/javascript\r\njson => application/json\r\npl => application/x-perl\r\nrss => application/rss+xml\r\nsvg => image/svg+xml\r\ntcl => application/x-tcl\r\nxhtml => application/xhtml+xml\r\n```\r\nBut then it might make sense to create a more maintainable list or mapping for the is_compressible attribute. I am not a C-programmer, so I will not propose how to actually do this."}}