Customization
- Wandering Box (2 GB of memory)
- Apache / 2.2.22 (Ubuntu)
- PHP 5.4.38-1 + deb.sury.org ~ exact + 2 (cli) (built: February 20, 2015 12:16:47)
- CakePHP 3
I just installed the new CakePHP 3 with the composer, and with the most basic default home page, I noticed that the page loaded, like 4 loaded from ~ 5. Here are the tests ( kitchen.com is the server alias):
Chrome Dev Tools

Phpstorm + xdebug

Even composer.phar dumpautoload -o n't changed anything.
Sometimes some REST calls (returning small json) can reach ~ 12 s due to startup and this php_sapl_name:
AJAX REST call
{ "settings": { "sitename": "Site settings", "desciption": "Lorem ipsum" } }
public function index() { $this->set('settings', ['sitename' => 'Site settings', 'desciption' => 'Lorem ipsum']); $this->set('_serialize', ['settings']); }
Chrome dev and PhpStorm + Xdebug tools


So is this a common error on CakePHP 3, or can it come from my server configuration?
source share