File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,13 @@ cache:
119119` ` `
120120
121121If you change any of your routes, you will need to clear the cache. If you use a cache implementation that supports
122- tagging (implements [TaggablePoolTrait ](https://github.com/php-cache/taggable-cache/blob/master/src/TaggablePoolInterface.php))
122+ tagging (implements [TaggablePoolInterface ](https://github.com/php-cache/taggable-cache/blob/master/src/TaggablePoolInterface.php))
123123you can clear the cache tagged with `routing`.
124124
125+ The routing cache will make the route lookup more performant when your application have many routes, especially many
126+ dynamic routes. If you just have a few routes your performance will actually be worse enabling this.
127+ Use [Blackfire](https://blackfire.io/) to profile your application to see if you should enable routing cache or not.
128+
125129
126130# ## Clearing the cache
127131
You can’t perform that action at this time.
0 commit comments