speeding up Magento!
来源:互联网 发布:兄弟连it教育 学费 编辑:程序博客网 时间:2024/06/06 09:48
speeding up Magento!
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
- speeding up Magento!
- Speeding up Magento with APC or Memcached
- Speeding up Gradle builds
- Speeding up Gradle builds
- speeding up app in android
- Speeding-up algorithms with SSE
- Speeding up your ASP.NET application
- 10 tips for speeding up Outlook
- Speeding up Python (NumPy, Cython, and Weave)
- Best Practices for Speeding Up Your Web Site
- Exceptional Performance : Best Practices for Speeding Up Your Web Site
- Best Practices for Speeding Up Your Web Site
- Best Practices for Speeding Up Your Web Site
- [转]Best Practices for Speeding Up Your Web Site
- Best Practices for Speeding Up Your Web Site
- Best Practices for Speeding Up Your Web Site
- A Custom Block Allocator for Speeding Up VC++ STL
- Best Practices for Speeding Up Your Web Site
- mips下的pppoe驱动
- ecshop 中category 页面分页page_size
- JS json object 与 string 相互转换
- NetBeans 时事通讯(刊号 # 134 - Jan 25, 2011)
- GetNetPath
- speeding up Magento!
- 经典幽默短信
- MTK系列手机软件安装方法
- MFC数据类型
- 2011.1.26 小年凌晨 记
- 从多方面理解Android体系结构
- 关于ACE 6.0.0新版本对APG一书中ACE_static_case宏用法的补充
- 灯光亮度 换算参数等
- 怎样写一个简单的操作系统?(原文标题:How to write a simple operating system)