<?xml version="1.0" encoding="UTF-8" ?><oembed><version>1.0</version><provider_name>Jui-Nan Lin&#039;s Blog</provider_name><provider_url>https://jnlin.org</provider_url><author_name>jnlin</author_name><author_url>https://jnlin.org/author/jnlin/</author_url><title>Google 的 mod_pagespeed</title><html>&lt;p&gt;&lt;a href=&quot;http://www.google.com/&quot;&gt;Google&lt;/a&gt; 前幾天放出的 Apache Module &lt;a href=&quot;http://code.google.com/speed/page-speed/docs/module.html&quot;&gt;mod_pagespeed&lt;/a&gt; 直接把一些網站最佳化在 Apache 吐出去前作掉：&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;CSS、JS合併&lt;/li&gt;    &lt;li&gt;Inline CSS 拉出來&lt;/li&gt;    &lt;li&gt;設定 Cache-control&lt;/li&gt;    &lt;li&gt;縮小圖片大小&lt;/li&gt;    &lt;li&gt;拿掉不必要的空白&lt;/li&gt;    &lt;li&gt;……&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;沒有做的最佳化：&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;gzip壓縮（可以用mod_deflate）作掉。&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href=&quot;http://code.google.com/speed/page-speed/docs/filters.html&quot;&gt;各個Filter&lt;/a&gt;可以獨立套用，所以如果你已經有用 &lt;a href=&quot;http://developer.yahoo.com/yui/compressor/&quot;&gt;YUI Compressor&lt;/a&gt; 或者&lt;a href=&quot;http://code.google.com/closure/compiler/&quot;&gt;Closure Compiler&lt;/a&gt; 的話，可以不需要套用相關的 Filter。&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://code.google.com/p/modpagespeed/issues/detail?id=6&quot;&gt;目前還不支援 prefork 以外的 MPM&lt;/a&gt;，所以暫時沒辦法測就是……（手邊的機器都跑 worker MPM 了）。&lt;/p&gt;</html><type>rich</type></oembed>