GitHub PushEvent at 2014-10-26 12:31:34
Repository: server-configs-apache
Actor: alrra
Payload: {"shas":[["fb3909446def5356998f1e1f1db216986b2b4e76","85bbdd25db3c6eb77b8a7d8d0c5df4799e17f5bb@gmail.com","Add configs for files marked as `font/eot`\n\nBy default the configurations from this repository ensure that\n`.eot` files are served with the `application/vnd.ms-fontobject`\nmedia type, compressed, and with far future expires headers.\nHowever, not all users use all the configurations provided by\nthis project, or in some cases, the headers are overwritten from\nthe level \"beneath\" Apache (e.g.: from `php`).\n\nLooking at the results from the HTTP Archive¹ from 15.10.2014:\n\n  +----+--------------------+---------------------------------+\n  |    | number of requests |        media type               |\n  +----+--------------------+---------------------------------+\n  | 1  |            7406888 | image/jpeg                      |\n  |    |                ... |                             ... |\n* | 10 |             683558 | font/eot                        |\n  |    |                ... |                             ... |\n* | 17 |             176674 | application/vnd.ms-fontobject   |\n  |    |                ... |                             ... |\n  +----+--------------------+---------------------------------+\n\nit's clear that the `font/eot` media type is used way more often\nthan the IANA registered² `application/vnd.ms-fontobject`.\n\nOther incorrect/unofficial media types are also used, but their\nusage is either wrong or low enough to not justify their addition.\n\n  +----+--------------------+---------------------------------+\n  |    | number of requests |        media type               |\n  +----+--------------------+---------------------------------+\n  | 1  |             683558 | font/eot                        |\n  | 2  |             176674 | application/vnd.ms-fontobject   |\n  |    |                ... |                             ... |\n  | 6  |               9950 | text/html                       |\n  | 7  |               1062 | x-font/eot                      |\n  |    |                ... |                             ... |\n  | 10 |                400 | application/vnd.bw-fontobject   |\n  |    |                ... |                             ... |\n  | 15 |                 86 | application/x-font-eot          |\n  |    |                ... |                             ... |\n  | 17 |                 44 | application/font-eot            |\n  |    |                ... |                             ... |\n  +----+--------------------+---------------------------------+\n\nBecause of the things stated above, the changes from this\ncommit will ensure that Apache will serve anything labeled with\nthe `font/eot` compressed and with far future expires headers.\n\n- - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - -\n\n¹ https://www.igvita.com/2013/06/20/http-archive-bigquery-web-performance-answers/\n\n  Query used for the first table:\n\n    select count(requestid) as number_of_requests,\n           mimetype as media_type\n    from [httparchive:runs.2014_10_15_requests]\n    group by media_type\n    order by number_of_requests desc;\n\n  Query used for the second table:\n\n    select count(requestid) as number_of_requests,\n           mimetype as media_type\n    from [httparchive:runs.2014_10_15_requests]\n    where (lower(mimetype) contains \"eot\") or\n          (lower(mimetype) contains \"vnd.ms-fontobject\") or\n          (\n             regexp_match(lower(url), r'\\.eot$') or\n             regexp_match(lower(url), r'.eot\\?')\n          )\n    group by media_type\n    order by number_of_requests desc;\n\n² http://www.iana.org/assignments/media-types/application/vnd.ms-fontobject","Cătălin Mariș",true]],"size":1,"ref":"refs/heads/master","head":"fb3909446def5356998f1e1f1db216986b2b4e76"}