Search code examples
performancemagentotemplatescachingdevelopment-environment

Slow Magento development environment


I'm trying to develop a new menu template, but my magento webshop loads incredibly slow on my development machine. I have to disable the 'Page blocks HTML' in order to see my changes. Once i disable this cache, loading of a single page takes about 10 seconds! (With cache enabled its below a second).

My setup:

  • USBwebserver running on same machine
  • Core I5-3570K
  • 8 GB Ram
  • Samsung SSD 830
  • Magento 1.9.2.1 shop with about 400 categories / 4000 products

Content hosts file:

127.0.0.1       localhost
#::1            localhost

What i've tried:

  • Different servers, same effect: uniserver, wampp
  • Enabled opcaching
  • Repaired and optimized all tables
  • disabled microsoft security essentials

Is this expected behaviour? What should i do to get acceptable loading speeds?


Solution

  • Make sure following is in place : 1. Flat Product. 2. Flat Category. 3. At least have some cache switched on config cache specially( you will find few options in admin )