I installed Magento 2.0.4 (composer) on Windows 10. Pages take up to 10 seconds or more to load. I tried several solutions published here to speed up the loading process on WAMP environments but none of them worked.

Then I set up an Ubuntu virtual machine (on Windows 10 host) to check whether the issue was caused by Windows. I installed Magento 2.0.4 again on this virtual machine and the result is the same: 10 seconds to load pages.

Processes summary:

Windows - when loading a page the Apache process uses up to 50% CPU. I noticed that two apache process are running. However only one seems active (50%) when the page loads, the other one is at 0%.

Ubuntu - when loading a page the only 2 process showing activity are firefox 5% and gnome-shell up to 30%, however in the "Resources tab" the CPU usage goes to 100% and stays there until the page is fully loaded, then goes down to normal levels (15% - 20%).

I'm developing a new theme so I delete pub/static/ and var/view_preprocessed folders on a regular basis to see my changes. Just after deleting this folders, the loading time is 10 seconds or more (i think because of the recompiling process). Subsequent loading of pages takes a little less (6 - 8 seconds).

I've tested enabling/disabling cache but that makes no difference.

1 Answer 1


That's just the way it is unfortunately to a large extent. There's a lot of processes there when loading without the cache that do all the hard work of building dynamic classes so you don't have to.

Is your database local or external? That could be causing a slowdown if it's the latter, but a lot will be the process of rebuilding the different files needed.

With the cache disabled it takes around 5/6 seconds for loading for me, but with cache enabled it is significantly quicker. Something's not quite right if the load times are the same for you with or without the cache enabled.

  • Database is local. I'll test again enabling cache to confirm the delay time. I also tested the Magento installation in a hosting server on a test domain and the site loaded much more quicker (2 seconds). What could be the settings on a hosting provider that make possible to run Magento quicker? Commented Apr 19, 2016 at 22:58
  • 1
    It could be that the server is just more powerful to some extent. Ensure all your 'var' folder is writable. I'm not sure Mage would run without this requirement, but it's worth checking as that's where all the dynamic classes are created. If there weren't able to be written for whatever reason, it's be the same as having no cache. It sounds like the cache is disabled to me, but keep me posted :)
    – john
    Commented Apr 21, 2016 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.