If you feel that your Sylius dev configuration is slow, try this:
1) use nginx (or docker with nginx) instead of php bin/console server:run
2) be sure XDebug is disabled
3) add these lines to your php.ini:
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
realpath_cache_size=4096K
1) use nginx (or docker with nginx) instead of php bin/console server:run
2) be sure XDebug is disabled
3) add these lines to your php.ini:
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
realpath_cache_size=4096K
Комментариев нет:
Отправить комментарий