<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Gzip your @font-face files</title>
	<atom:link href="http://www.phpied.com/gzip-your-font-face-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/gzip-your-font-face-files/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: DoMyself &#187; Blog Archive &#187; Google Buzz产品研究之CSS</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-81388</link>
		<dc:creator>DoMyself &#187; Blog Archive &#187; Google Buzz产品研究之CSS</dc:creator>
		<pubDate>Fri, 20 Jan 2012 15:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-81388</guid>
		<description>[...] 为了减少访问数据下载量，我对blog启用了gzip压缩，包括javascript，css甚至@font-face里用到的字体也可以压缩（via Gzip your @font-face files）。启用gzip的压缩结果是客观的，一个Graublau Web.otf字体从41.464k压缩到了31.528k，压缩率为76.04%。然而用上data URI scheme，即使对CSS开启gzip压缩，由于经过base64转译后字符串本身大大增加了CSS文件的体积，压缩效果大大折扣。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 为了减少访问数据下载量，我对blog启用了gzip压缩，包括javascript，css甚至@font-face里用到的字体也可以压缩（via Gzip your @font-face files）。启用gzip的压缩结果是客观的，一个Graublau Web.otf字体从41.464k压缩到了31.528k，压缩率为76.04%。然而用上data URI scheme，即使对CSS开启gzip压缩，由于经过base64转译后字符串本身大大增加了CSS文件的体积，压缩效果大大折扣。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milan Stanojevic</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-80578</link>
		<dc:creator>Milan Stanojevic</dc:creator>
		<pubDate>Thu, 08 Dec 2011 07:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-80578</guid>
		<description>I tried using your solution for my school project, and when I use it on my local computer, font-face doesn&#039;t load the gz archive, instead it uses the uncompressed font file that is placed in my root directory, and when I remove that file from the root, font-face property doesn&#039;t work anymore, so is there any possible workaround?</description>
		<content:encoded><![CDATA[<p>I tried using your solution for my school project, and when I use it on my local computer, font-face doesn&#8217;t load the gz archive, instead it uses the uncompressed font file that is placed in my root directory, and when I remove that file from the root, font-face property doesn&#8217;t work anymore, so is there any possible workaround?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @font-face 와 성능 &#124; Clearboth</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-78354</link>
		<dc:creator>@font-face 와 성능 &#124; Clearboth</dc:creator>
		<pubDate>Fri, 15 Jul 2011 06:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-78354</guid>
		<description>[...] Stoyan Stefanov: Gzip your @font-face files &#8211; http://www.phpied.com/gzip-your-font-face-files/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Stoyan Stefanov: Gzip your @font-face files &#8211; <a href="http://www.phpied.com/gzip-your-font-face-files/" rel="nofollow">http://www.phpied.com/gzip-your-font-face-files/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Brubeck Unhammer</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-75591</link>
		<dc:creator>Kevin Brubeck Unhammer</dc:creator>
		<pubDate>Sun, 23 Jan 2011 21:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-75591</guid>
		<description>dan, this page has a possible .htaccess file:
http://wiki.dreamhost.com/Htaccess_tricks#Faster_Page_Load_Times_.2F_Bandwidth_Saver
just change the include file line to something like

    mod_gzip_item_include file      \.(html?&#124;txt&#124;css&#124;js&#124;php&#124;pl&#124;jpg&#124;png&#124;gif&#124;eot&#124;otf&#124;svg&#124;ttf)$

see also http://articles.sitepoint.com/article/web-site-optimization-steps/2</description>
		<content:encoded><![CDATA[<p>dan, this page has a possible .htaccess file:<br />
<a href="http://wiki.dreamhost.com/Htaccess_tricks#Faster_Page_Load_Times_.2F_Bandwidth_Saver" rel="nofollow">http://wiki.dreamhost.com/Htaccess_tricks#Faster_Page_Load_Times_.2F_Bandwidth_Saver</a><br />
just change the include file line to something like</p>
<p>    mod_gzip_item_include file      \.(html?|txt|css|js|php|pl|jpg|png|gif|eot|otf|svg|ttf)$</p>
<p>see also <a href="http://articles.sitepoint.com/article/web-site-optimization-steps/2" rel="nofollow">http://articles.sitepoint.com/article/web-site-optimization-steps/2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Performance Calendar &#187; Blog Archive &#187; Reducing the payload: compression, minification, 204s</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-74744</link>
		<dc:creator>Performance Calendar &#187; Blog Archive &#187; Reducing the payload: compression, minification, 204s</dc:creator>
		<pubDate>Tue, 30 Nov 2010 02:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-74744</guid>
		<description>[...] should also gzip @font-files like EOT, TTF, OTF, with the exception of WOFF. Average about 40% to be won there with font [...]</description>
		<content:encoded><![CDATA[<p>[...] should also gzip @font-files like EOT, TTF, OTF, with the exception of WOFF. Average about 40% to be won there with font [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-73717</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Sat, 31 Jul 2010 12:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-73717</guid>
		<description>hi there im a bit of a newb to this and i just cant seem to get my head round this i dont know wether you name the actual fonts gzipper or the gziped files either way i cant seem to get it to work for me and i would like to have it working as it seems a very good solution :-)</description>
		<content:encoded><![CDATA[<p>hi there im a bit of a newb to this and i just cant seem to get my head round this i dont know wether you name the actual fonts gzipper or the gziped files either way i cant seem to get it to work for me and i would like to have it working as it seems a very good solution <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ameer</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-73676</link>
		<dc:creator>Ameer</dc:creator>
		<pubDate>Sun, 25 Jul 2010 01:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-73676</guid>
		<description>I know this post is old. Just wanted to let you know that the fonts you used in the fonts test page; http://www.phpied.com/files/fonts/fonts.html return an MIME type of text/plain.</description>
		<content:encoded><![CDATA[<p>I know this post is old. Just wanted to let you know that the fonts you used in the fonts test page; <a href="http://www.phpied.com/files/fonts/fonts.html" rel="nofollow">http://www.phpied.com/files/fonts/fonts.html</a> return an MIME type of text/plain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: syzen</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-73613</link>
		<dc:creator>syzen</dc:creator>
		<pubDate>Mon, 19 Jul 2010 04:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-73613</guid>
		<description>hi!
can anyone tell me how should i configure in my .htaccess file to render my pre-gzipped font file? or can i pre-gzip my font file?
i am newbies on web coding and sorry if i&#039;m asking a stupid question :D</description>
		<content:encoded><![CDATA[<p>hi!<br />
can anyone tell me how should i configure in my .htaccess file to render my pre-gzipped font file? or can i pre-gzip my font file?<br />
i am newbies on web coding and sorry if i&#8217;m asking a stupid question <img src='http://www.phpied.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dana</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-72595</link>
		<dc:creator>dana</dc:creator>
		<pubDate>Wed, 07 Apr 2010 16:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-72595</guid>
		<description>EWP! WEFT! W3C! WURT!</description>
		<content:encoded><![CDATA[<p>EWP! WEFT! W3C! WURT!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadow</title>
		<link>http://www.phpied.com/gzip-your-font-face-files/#comment-72362</link>
		<dc:creator>Shadow</dc:creator>
		<pubDate>Fri, 26 Feb 2010 16:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=861#comment-72362</guid>
		<description>Came up with a solution:

Use Apache’s ‘AddType’ declaration to add a custom mime type and then use that mime type in the ‘AddOutputFilterByType’ declaration.

For example, for opentype fonts:

Addtype font/otf .otf
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css font/otf

http://www.doktortr.net/</description>
		<content:encoded><![CDATA[<p>Came up with a solution:</p>
<p>Use Apache’s ‘AddType’ declaration to add a custom mime type and then use that mime type in the ‘AddOutputFilterByType’ declaration.</p>
<p>For example, for opentype fonts:</p>
<p>Addtype font/otf .otf<br />
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css font/otf</p>
<p><a href="http://www.doktortr.net/" rel="nofollow">http://www.doktortr.net/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

