The applicatios works very slow when is en CI_ENVERONMENT=develop - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: The applicatios works very slow when is en CI_ENVERONMENT=develop (/showthread.php?tid=76282) |
The applicatios works very slow when is en CI_ENVERONMENT=develop - franciscobs - 04-29-2020 Hello, The application works very slow when i configure CI_ENVIRONMENT=development in .env file If it´s in CI_ENVIRONMENT=produciton works perfect I have also tried writing in .htaccess file putting: SetEnv CI_ENVIRONMENT development but the result is the same I have tested in a personal application and in the original application of the installation RE: The applicatios works very slow when is en CI_ENVERONMENT=develop - jreklund - 04-29-2020 Have you set a correct app.baseURL="http://localhost:8080/" ? As it will fail to load the debug bar, most likely creating that lag. RE: The applicatios works very slow when is en CI_ENVERONMENT=develop - franciscobs - 04-29-2020 (04-29-2020, 10:57 AM)jreklund Wrote: Have you set a correct app.baseURL="http://localhost:8080/" ? As it will fail to load the debug bar, most likely creating that lag.Thanks, the problem was that I had writen "http://http://localhost:8080/" I had reviewed all the code many times but i had not realized this. Thank you very much for the help. |