Skip to content

Commit 55ecc4d

Browse files
authored
Merge pull request #909 from umer936/patch-2
Update Application.php to remove route cache code comment
2 parents b8948f8 + b76064f commit 55ecc4d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/Application.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,8 @@ public function middleware(MiddlewareQueue $middlewareQueue): MiddlewareQueue
8686

8787
// Add routing middleware.
8888
// If you have a large number of routes connected, turning on routes
89-
// caching in production could improve performance. For that when
90-
// creating the middleware instance specify the cache config name by
91-
// using it's second constructor argument:
92-
// `new RoutingMiddleware($this, '_cake_routes_')`
89+
// caching in production could improve performance.
90+
// See https://github.com/CakeDC/cakephp-cached-routing
9391
->add(new RoutingMiddleware($this))
9492

9593
// Parse various types of encoded request bodies so that they are

0 commit comments

Comments
 (0)