The manual of tp5 says: V5.1.14 version starts to support turning on the route cache. Set it in the application configuration file app.php: 'route_check_cache' => true, then
my tp The version is 5.1.41, but the 'route_check_cache' configuration item cannot be found in app.php. What is the reason?
Manually adding 'route_check_cache' => true in app.php will not have any effect, right?
How can we know whether 'route_check_cache' => true works?
http://yl5p76q.cn/ Gongxi Yanfan Information Network Shuai
You first enable this configuration
Then access it once
Then modify a certain routing address to see if it can be accessed before accessing it?
In fact, it’s okay to have a small number of routes It is also possible that if the file content changes, the routing file will be reloaded the next time it is accessed.
This should be invisible. To obtain the route at the beginning of the framework, you have to trace it back to the bottom layer to print it