Skip to main content
added 49 characters in body
Source Link
Flyingmana
  • 6.1k
  • 3
  • 28
  • 64

there are usually 3 things which make the local dev environment slow:

  1. there is no configured opcache, till php 5.3 this was APC, later in 5.5 the builtin OpCache. Make sure it is enabled. Still the first request is a bit slow, but the following ones are way faster.

  2. disabled caches. Even if you heavily work on a shop, dont disable all caches. only clean them if needed. For example the config Cache is only hurting you during work with install scripts or on module configs. Layout cache is only hurting, when you work on the layout xml files. You can speed up your work a lot, by only clean caches (for example via a fast executed script) when really needed.

  3. not enough memory. If you dont have enough memory available on your machine, it starts to swap, and swapping is painfully slow. Depending on what you have else to run on the machine, the needed amount differs.

Not on the list, disable your fancy anti virus tools. The Windows Defender is enough in the today world as defense, you mostly dont need any of the rest. Thats now a Dev machine you have, act responsible and dont execute every .exe you find on the internet. Anti Virus tools slow down every action, which is hurting a lot for process intensive programming like with magento.

there are usually 3 things which make the local dev environment slow:

  1. there is no configured opcache, till php 5.3 this was APC, later in 5.5 the builtin OpCache. Make sure it is enabled. Still the first request is a bit slow, but the following ones are way faster.

  2. disabled caches. Even if you heavily work on a shop, dont disable all caches. only clean them if needed. For example the config Cache is only hurting you during work with install scripts or on module configs. Layout cache is only hurting, when you work on the layout xml files. You can speed up your work a lot, by only clean caches (for example via a fast executed script) when really needed.

  3. not enough memory. If you dont have enough memory available on your machine, it starts to swap, and swapping is painfully slow. Depending on what you have else to run on the machine, the needed amount differs.

Not on the list, disable your fancy anti virus tools. The Windows Defender is enough in the today world. Thats now a Dev machine you have, act responsible and dont execute every .exe you find on the internet. Anti Virus tools slow down every action, which is hurting a lot for process intensive programming like with magento.

there are usually 3 things which make the local dev environment slow:

  1. there is no configured opcache, till php 5.3 this was APC, later in 5.5 the builtin OpCache. Make sure it is enabled. Still the first request is a bit slow, but the following ones are way faster.

  2. disabled caches. Even if you heavily work on a shop, dont disable all caches. only clean them if needed. For example the config Cache is only hurting you during work with install scripts or on module configs. Layout cache is only hurting, when you work on the layout xml files. You can speed up your work a lot, by only clean caches (for example via a fast executed script) when really needed.

  3. not enough memory. If you dont have enough memory available on your machine, it starts to swap, and swapping is painfully slow. Depending on what you have else to run on the machine, the needed amount differs.

Not on the list, disable your fancy anti virus tools. The Windows Defender is enough in the today world as defense, you mostly dont need any of the rest. Thats now a Dev machine you have, act responsible and dont execute every .exe you find on the internet. Anti Virus tools slow down every action, which is hurting a lot for process intensive programming like with magento.

Source Link
Flyingmana
  • 6.1k
  • 3
  • 28
  • 64

there are usually 3 things which make the local dev environment slow:

  1. there is no configured opcache, till php 5.3 this was APC, later in 5.5 the builtin OpCache. Make sure it is enabled. Still the first request is a bit slow, but the following ones are way faster.

  2. disabled caches. Even if you heavily work on a shop, dont disable all caches. only clean them if needed. For example the config Cache is only hurting you during work with install scripts or on module configs. Layout cache is only hurting, when you work on the layout xml files. You can speed up your work a lot, by only clean caches (for example via a fast executed script) when really needed.

  3. not enough memory. If you dont have enough memory available on your machine, it starts to swap, and swapping is painfully slow. Depending on what you have else to run on the machine, the needed amount differs.

Not on the list, disable your fancy anti virus tools. The Windows Defender is enough in the today world. Thats now a Dev machine you have, act responsible and dont execute every .exe you find on the internet. Anti Virus tools slow down every action, which is hurting a lot for process intensive programming like with magento.