This is a (multiple allowed):
[ ] feature-discussion (RFC)
CakePHP Version: 3.6.5
Added a Router::addUrlFilter rule, this rule is a callable and is defined in my routes.php file.
When route cache is enabled in the RoutingMiddleware and routes are returned from cache the Router::$_urlFilters array is empty so the rule is never executed.
You'll have to either move where you define your URL filters or not use route caching :smile:
Fair enough 馃槒
If you put your URL filters in your application's bootstrap it should 'just work' :tm:
Most helpful comment
If you put your URL filters in your application's bootstrap it should 'just work' :tm: