<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="magento开启gzip加速" id="card1">
<p> 游客</p><p>
标题:magento开启gzip加速<br/>
正文:<br/>
 Magento开启gzip[加速方法一]: Magento对服务器要求比较高，配置一般的空间都跑起来比较慢，要买配置高的Magento空间或服务器，这样对于做外贸的人就增加了不少成本。 那么怎么才能让Magento跑过快一点呢？gzip可以压缩网页的显示，加快Magento网站访问速度，其实很多的主机都已经默认安装一个组件：gzip， 这里我们就通过修改它来提高Magento的运行速度。到底能提高多少速度呢？大家可以在修改之前去mod_gzip tester 看看你Magento网站的速度，然后修改之后再做比较。现在我们为Magento开启gzip。比较方便的方法是修改根目录下.htaccess 文件。我们只需要去掉一些注释就可以了(去掉前面的#符号)。############################################################## enable apache served files compression## http://developer.yahoo.com/performance/rules.html#gzip# Insert filterSetOutputFilter DEFLATE# Netscape 4.x has some problems&amp;hellip;BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 4.06-4.08 have some more problemsBrowserMatch ^Mozilla/4\.0[678] no-gzip# MSIE masquerades as Netscape, but it is fineBrowserMatch \bMSIE !no-gzip !gzip-only-text/html# Don&amp;rsquo;t compress imagesSetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary# Make sure proxies don&amp;rsquo;t deliver the wrong contentHeader append Vary User-Agent env=!dont-vary#<br/><a href="http://www.fangpaikongjian.biz/wap.asp?mode=WAP&amp;act=View&amp;id=9&amp;Page=1">[&lt;&lt;]</a><a href="http://www.fangpaikongjian.biz/wap.asp?mode=WAP&amp;act=View&amp;id=9&amp;Page=1">[[1]]</a><a href="http://www.fangpaikongjian.biz/wap.asp?mode=WAP&amp;act=View&amp;id=9&amp;Page=2">[2]</a><a href="http://www.fangpaikongjian.biz/wap.asp?mode=WAP&amp;act=View&amp;id=9&amp;Page=2">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=9">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=9">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://www.fangpaikongjian.biz/wap.asp">首页</a>
</p>
</card>
</wml>