改善magento性能的最佳步骤是什么? [英] What are the best steps to improve magento performance?

查看:68
本文介绍了改善magento性能的最佳步骤是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一家magento商店(1.2版),在专门的LAMP设置下运行.

I have a magento shop (ver 1.2) running under a dedicated LAMP setup.

我对其进行了以下更改:

I have made the following changes to it:

  • 启用了magento缓存
  • 已启用APC
  • MySQL查询缓存
  • 对html,css,js进行GZip压缩

商店仍然难以置信地慢,大约需要10秒甚至更长的时间来渲染首页.有什么明显的我想念的东西吗?

The shop is still incredibly slow, around 10 secs and over for rendering the homepage. Is there any obvious things I am missing out.

请分享您的技巧以改善Magento的性能

Please share your tips to improve Magento performance

推荐答案

我们最大的速度提高来自将./magento/var/cache放到tmpfs文件系统上.

Our biggest speed increase came from placing ./magento/var/cache onto a tmpfs filesystem.

我们还将.htaccess文件的内容移到了Apache配置中.这样就不必检查每个页面命中的文件.

We also moved the contents of the .htaccess files into the Apache configuration. That eliminated checking for the file each page hit.

我们也在服务器上启用了gzip压缩.似乎有所帮助.

We enabled gzip compression on the server too. It seemed to help a bit.

您可能还需要检查MySQL查询缓存配置.

You may also want to check out your MySQL query cache config.

有一些指南可以在线调整您的Magento安装.我喜欢这个: http://www.neurosoftware .ro/programming-blog/blogposter/web-resources/magento-performance-hosting/

There are a few guides to tuning your Magento install online. I liked this one: http://www.neurosoftware.ro/programming-blog/blogposter/web-resources/magento-performance-hosting/

这篇关于改善magento性能的最佳步骤是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆