Does ci4 need the route cache feature? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: Does ci4 need the route cache feature? (/showthread.php?tid=72734) |
Does ci4 need the route cache feature? - rfrkk - 02-03-2019 Like the laravel route cache url:https://laravel.com/docs/5.7/controllers#route-caching It say: Using the route cache will drastically decrease the amount of time it takes to register all of your application's routes. In some cases, your route registration may even be up to 100x faster. Asking, does ci need to develop this feature? RE: Does ci4 need the route cache feature? - kilishan - 02-04-2019 You tell us - are you hitting a performance wall with anything you've developed with it? RE: Does ci4 need the route cache feature? - InsiteFX - 02-04-2019 Use the PHP opcode caching very fast. RE: Does ci4 need the route cache feature? - rfrkk - 02-04-2019 I make a stress-test by webbench testing laravel5.7 and ci4 aplha5 performance. environment: os centos 7 php 7.3.1 with opcache apache 2.4.38 They run the same php and the same route, result is ci4 is much faster than lrarvel, but after laravel using command php artisan config:cache and php artisan route:cache, although lrarvel still lost to ci4, it already has a pull-in distance. So, I wonder if ci4 can need to do it to improve performance. |