增加magento 1.7的速度

时间:2013-12-10 10:16:36

标签: magento

我的网站安装在magento 1.7中,在安装后在服务器上运行缓慢,但在我的本地是可以的。我已禁用捕获并重新运行该网站然后启用它但它仍然保持不变。它与托管有关吗?使用php.ini或类似的东西安装到服务器后,有没有简单的方法来加速magento?

3 个答案:

答案 0 :(得分:2)

Magento网站加速提示

  1. 启用所有Magento缓存层。
  2. 配置您的Web服务器以启用Connection Keep-Alive,启用 mod_expire,gzip compression
  3. 启用MySQL查询缓存。
  4. 安装APC或XCache以缓存PHP操作码。
  5. 安装Memcache并配置Magento以存储会话和缓存 记忆。
  6. 安装第三方全页缓存Magento扩展程序。
  7. 安装Varnish缓存服务器以在系统层上进行整页缓存。
  8. 参考:http://www.magentocommerce.com/boards/viewthread/36225/

答案 1 :(得分:1)

为了提高速度,您可以将.htaccess用于此目的: 只需在Magento的.htaccess文件中(位于根目录中),您就会找到以<IfModule mod_deflate.c>行开头并以</IfModule>结尾的文字部分

有关详细信息,请参阅此link

答案 2 :(得分:1)

提高magento速度的提示

- Uninstall any extensions that you don’t actually use.
 - Disable modules that you don’t use from: System -> Configuration -> Advanced -> Advanced.
 - Enable all Magento Caches: System -> Cache Management.
 - Combine Javascript and Combine CSS files: System ->Configuration ->Advanced ->Developer -> ‘Javascript settings’ and ‘CSS Settings’.
 - Try some of the Magento performance extensions.
 - Enable the Magento Flat Catalog, only helpful for very large catalogs to feel the improvements.
 - Don’t use layered navigation if you don’t really need it, it’s resource intensive.
 -  turn on Magento’s Compilation feature. 
 - Set only those attribute frontend properties to ‘Yes’ that you’re actually going to use
 - Disable the Magento log: System -> Configuration -> Advanced -> Developer -> Log Settings 
 - Use magento speed up extension lots of extension are free

来源:https://web.archive.org/web/20140327173649/http://www.gxjansen.com/101-ways-to-speed-up-your-magento-e-commerce-website/