make magento run faster
来源:互联网 发布:百度网盘 视频解析源码 编辑:程序博客网 时间:2024/05/17 22:48
from :http://inchoo.net/ecommerce/magento/boost-the-speed-of-your-magento/
One of the drawbacks of Magento is currently its speed if defaultconfiguration is used. There are certain ways of making it run faster.The best one is to enable GZip compression by changing .htaccess file alittle. You just need to uncomment part of the code. In my case, thespeed increase was exactly 235%.
Find the following lines in your Magento .htaccess file and replace them with the following code.
############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4/.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch /bMSIE !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI /.(?:gif|jpe?g|png)$ no-gzip dont-vary
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
# enable resulting html compression
php_flag zlib.output_compression on
- make magento run faster
- Make your web application run faster
- Making Magento run faster – Configuring Redis as Cache Back-end
- Android Run Time: An Easy Hack To Make Your Phone Faster And Its Battery Last Longer
- Make WLAN Roaming Faster
- Make the Web Faster
- Getting Groovy to run faster
- Make your java server faster
- How to make indexing faster
- How to make searching faster
- Make Linux faster and lighter
- make the OC8051 run
- Run Magento Code Outside of Magento
- Let's make the web faster
- Let's make the web faster
- How do I make Tomcat startup faster?
- Make a basic SOAP call in Magento
- make the javascript to run in innerHTML
- Java heep space(Java内存溢出问题)
- 谷歌拼音输入法突然变繁体怎么办?
- MFC六大关键技术之运行时类型识别
- 如何理解c和c++的复杂类型声明
- 陆涛为什么不爱米莱
- make magento run faster
- System.Data.OracleClient requires Oracle client software version 8.1.7 or greater 错误
- 商业模式初识
- 获取扫描仪图片-TWAIN协议
- 长假干嘛呢?
- Struts标签 s:url参数笔记
- mtk学习中碰到的失误总结(不断更新ing)
- dfw
- 使用struts中bean:write标签格式化输出