Welcome Guest, Not a member yet? Register   Sign In
Does ci4 need the route cache feature?
#1

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?
Reply
#2

You tell us - are you hitting a performance wall with anything you've developed with it?
Reply
#3

Use the PHP opcode caching very fast.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB