{"action":"created","issue":{"url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1291","labels_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1291/labels{/name}","comments_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1291/comments","events_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1291/events","html_url":"https://github.com/ExactTarget/fuelux/pull/1291","id":75378158,"number":1291,"title":"Base64 encode WOFF FuelUX font to reduce requests","user":{"login":"interactivellama","id":1290832,"avatar_url":"https://avatars.githubusercontent.com/u/1290832?v=3","gravatar_id":"","url":"https://api.github.com/users/interactivellama","html_url":"https://github.com/interactivellama","followers_url":"https://api.github.com/users/interactivellama/followers","following_url":"https://api.github.com/users/interactivellama/following{/other_user}","gists_url":"https://api.github.com/users/interactivellama/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivellama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivellama/subscriptions","organizations_url":"https://api.github.com/users/interactivellama/orgs","repos_url":"https://api.github.com/users/interactivellama/repos","events_url":"https://api.github.com/users/interactivellama/events{/privacy}","received_events_url":"https://api.github.com/users/interactivellama/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ExactTarget/fuelux/labels/Plumbing","name":"Plumbing","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"swilliamset","id":347227,"avatar_url":"https://avatars.githubusercontent.com/u/347227?v=3","gravatar_id":"","url":"https://api.github.com/users/swilliamset","html_url":"https://github.com/swilliamset","followers_url":"https://api.github.com/users/swilliamset/followers","following_url":"https://api.github.com/users/swilliamset/following{/other_user}","gists_url":"https://api.github.com/users/swilliamset/gists{/gist_id}","starred_url":"https://api.github.com/users/swilliamset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swilliamset/subscriptions","organizations_url":"https://api.github.com/users/swilliamset/orgs","repos_url":"https://api.github.com/users/swilliamset/repos","events_url":"https://api.github.com/users/swilliamset/events{/privacy}","received_events_url":"https://api.github.com/users/swilliamset/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ExactTarget/fuelux/milestones/35","html_url":"https://github.com/ExactTarget/fuelux/milestones/3.7.3","labels_url":"https://api.github.com/repos/ExactTarget/fuelux/milestones/35/labels","id":1102216,"number":35,"title":"3.7.3","description":"","creator":{"login":"swilliamset","id":347227,"avatar_url":"https://avatars.githubusercontent.com/u/347227?v=3","gravatar_id":"","url":"https://api.github.com/users/swilliamset","html_url":"https://github.com/swilliamset","followers_url":"https://api.github.com/users/swilliamset/followers","following_url":"https://api.github.com/users/swilliamset/following{/other_user}","gists_url":"https://api.github.com/users/swilliamset/gists{/gist_id}","starred_url":"https://api.github.com/users/swilliamset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swilliamset/subscriptions","organizations_url":"https://api.github.com/users/swilliamset/orgs","repos_url":"https://api.github.com/users/swilliamset/repos","events_url":"https://api.github.com/users/swilliamset/events{/privacy}","received_events_url":"https://api.github.com/users/swilliamset/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":4,"state":"open","created_at":"2015-05-08T17:35:16Z","updated_at":"2015-05-12T15:24:43Z","due_on":"2015-05-20T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-11T22:21:07Z","updated_at":"2015-05-12T15:53:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ExactTarget/fuelux/pulls/1291","html_url":"https://github.com/ExactTarget/fuelux/pull/1291","diff_url":"https://github.com/ExactTarget/fuelux/pull/1291.diff","patch_url":"https://github.com/ExactTarget/fuelux/pull/1291.patch"},"body":"Convert WOFF Fuel UX font to base64 and store in CSS file.\r\n\r\nFor more information on fonts visit: https://css-tricks.com/snippets/css/using-font-face/\r\n\r\n@futuremint We can do the same with BS3's glyphicon font, but that will probably be a rucksack issue @kevinparkerson."},"comment":{"url":"https://api.github.com/repos/ExactTarget/fuelux/issues/comments/101329014","html_url":"https://github.com/ExactTarget/fuelux/pull/1291#issuecomment-101329014","issue_url":"https://api.github.com/repos/ExactTarget/fuelux/issues/1291","id":101329014,"user":{"login":"interactivellama","id":1290832,"avatar_url":"https://avatars.githubusercontent.com/u/1290832?v=3","gravatar_id":"","url":"https://api.github.com/users/interactivellama","html_url":"https://github.com/interactivellama","followers_url":"https://api.github.com/users/interactivellama/followers","following_url":"https://api.github.com/users/interactivellama/following{/other_user}","gists_url":"https://api.github.com/users/interactivellama/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivellama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivellama/subscriptions","organizations_url":"https://api.github.com/users/interactivellama/orgs","repos_url":"https://api.github.com/users/interactivellama/repos","events_url":"https://api.github.com/users/interactivellama/events{/privacy}","received_events_url":"https://api.github.com/users/interactivellama/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T15:53:23Z","updated_at":"2015-05-12T15:53:23Z","body":"Follow up: From what I can ascertain from Chrome Timeline. The base64 decode may be adding 10-20ms to rendering time (It's within multiple reload margin of errors though).\r\n\r\nRight now, network download from Akaimai of [WOFF file](http://www.fuelcdn.com/fuelux/3.7.2/fonts/fuelux.woff) ranges from 225ms to 900ms (although I am on a plane right now with pretty bad latency). \r\n\r\n[HTTPS requests](http://www.fuelcdn.com/fuelux/3.7.2/fonts/fuelux.woff) from Akaimai are taking 500ms to 1.5s (but then again, I'm on a plane).\r\n\r\nWe probably shouldn't be encoding large fonts, but this small one seems like a good idea for optimization."}}