我的网站安装在magento 1.7中,在安装后在服务器上运行缓慢,但在我的本地是可以的。我已禁用捕获并重新运行该网站然后启用它但它仍然保持不变。它与托管有关吗?使用php.ini或类似的东西安装到服务器后,有没有简单的方法来加速magento?
答案 0 :(得分:2)
Magento网站加速提示
答案 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