Welcome Guest, Not a member yet? Register   Sign In
How To Optimise Controller Execution Time
#1

Hi All,
Im trying to improve performance of an ap I created and at the moment looking into how best to improve Controller Execution Time.
I know the first thing would be to make sure Im not auto loading any libraries etc that are not relevant.
I also read that not posting the .php extension when calling a view file might help. Whats anyones view on that ? How would that help and if it does how much an improvement might we see.
Most page load up in less that 0.5
I would love to hear your tips and advice.
Reply
#2

Don't waste time on micro optimization. Find where the most time is spent and improve this part. Most of the time, the bottleneck will be the database queries. 

After you have optimized your database, you can also use Web page caching and Caching driver to improve performance.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB