]> source.dussan.org Git - nextcloud-server.git/commit
Do not create a RouteActionHandler object for each route 21643/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 1 Jul 2020 07:45:46 +0000 (09:45 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 7 Jul 2020 10:33:22 +0000 (12:33 +0200)
commitedc1c77dd917e232840084dd3917df62c06eb25b
tree61e75d849e068403d43bf3af61c8b54816b695c6
parentcd7a6276f27e641cfa8f835c53cd3781e69d1d67
Do not create a RouteActionHandler object for each route

This is not required and doesn't allow us to be properly lazy. On top of
it this doesnt allow us to cache the routes (since closures/objects
can't be cached).

This is the first small step into cleaning up the routing we have

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/AppFramework/Routing/RouteConfig.php
lib/private/Route/Router.php
tests/lib/AppFramework/Routing/RoutingTest.php