桌面支持--excel字母变数字解决办法
2015-08-19 16:21
471 查看
前言: Magento 是一个开源电子商务系统,尤其以扩展性高著称,但是很高的扩展性往往是牺牲了速度为代价的,虽然现在magento为速度提升做了很多工作,但是还是没能 达到人们对速度的要求。既然如此还是有很多企业选择了它,速度问题还是让很多客户无法接受,最近忙碌于magento性能优化。 同时速度也上了几个台阶,据本人目测最少快了(7-8倍)。 参考了合同前辈的经验总结了如下几点: 1) Magento Caching. Magento 自身cache Goto Magento Admin -> System -> Cache Management - Tick the following items: – Configuration – Layouts – Block HTML output – Translations 2) MySQL Cache Size 设置 query_cache_size=128M innodb_buffer_pool_size=64M innodb_additional_mem_pool=16M 4) Enabling Gzipping 启用gzip压缩 .htaccess php_flag zlib.output_compression on AddHandler application/x-httpd-php5 .css 修改 .htaccess mod_deflate 配置 本人配置如下: # Insert filter on all content SetOutputFilter DEFLATE # Insert filter on selected content types only #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript # 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 5) Install Fooman Speedster 安装该插件 6) Install APC or Xcache 安装apc机器码缓存 <cache> <backend>apc</backend> <prefix>alphanumeric</prefix> </cache> 添加到 app/etc/local.xml <global></global> 之间. 7) 设置apache 开启 KeepAlive KeepAlive = On LoadModule deflate_module modules/mod_deflate.so #开启mod_deflate 参考地址: http://www.magentocommerce.com/wiki/groups/168/optimising_your_web_stack_performance_for_magento http://www.magentocommerce.com/boards/viewthread/36225/ 出处: 马丁博客[http://www.blags.org/] 本文链接地址: http://www.blags.org/magento-performance-optimization/ |
相关文章推荐
- Python函数式编程指南(三):迭代器
- AC自动机+DP 改变字符串中的‘?’使得在字典中匹配到的次数最多 codechef Lucy and Question Marks
- 归档空间问题处理总结
- codeforces 71C C. Round Table Knights(枚举)
- Sublime Text使用笔记
- hosts.deny hosts.allow防止ssh暴力破解密码
- 编写高质量代码改善C#程序的157个建议——建议78:应避免线程数量过多
- 桌面支持--excel自动换行
- CSS3边框阴影,折角效果演示
- 用java下载网页
- Robotium 中如何重签名
- Swift学习笔记系列——(23)泛型
- Basic and Digest Access Authentication (rfc2617) 及HttpClient实现
- 写给自己的话
- 常见的浏览器分辨率
- 求无向图的 边-双连通分量
- 适配器模式
- Python 使用正则表达式 - 1
- 常见的浏览器分辨率
- php文件去重复,二维数组筛选