diff --git a/_build/redirection_map b/_build/redirection_map index e9f46a06bb2..917f90680ff 100644 --- a/_build/redirection_map +++ b/_build/redirection_map @@ -2,6 +2,7 @@ /cookbook/index /index /book/stable_api /contributing/code/bc /book/internals /reference/events +/configuration/apache_router /routing /cookbook/console/sending_emails /cookbook/console/request_context /cookbook/deployment-tools /cookbook/deployment/tools /cookbook/doctrine/migrations /bundles/DoctrineFixturesBundle/index @@ -95,7 +96,7 @@ /cookbook/cache/form_csrf_caching /http_cache/form_csrf_caching /cookbook/cache/varnish /http_cache/varnish /cookbook/composer /setup/composer -/cookbook/configuration/apache_router /configuration/apache_router +/cookbook/configuration/apache_router /routing /cookbook/configuration/configuration_organization /configuration/configuration_organization /cookbook/configuration/environments /configuration/environments /cookbook/configuration/external_parameters /configuration/external_parameters diff --git a/components/routing.rst b/components/routing.rst index 402c37e06d4..b5f0707a0ec 100644 --- a/components/routing.rst +++ b/components/routing.rst @@ -357,6 +357,5 @@ Learn more /routing/* /controller /controller/* - /configuration/apache_router .. _Packagist: https://packagist.org/packages/symfony/routing diff --git a/configuration/apache_router.rst b/configuration/apache_router.rst deleted file mode 100644 index 69c7ec14307..00000000000 --- a/configuration/apache_router.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. index:: - single: Apache Router - -How to Use the Apache Router -============================ - -.. caution:: - - **Using the Apache Router is no longer considered a good practice**. - The small increase obtained in the application routing performance is not - worth the hassle of continuously updating the routes configuration. - - The Apache Router will be removed in Symfony 3 and it's highly recommended - to not use it in your applications. - -Symfony, while fast out of the box, also provides various ways to increase that -speed with a little bit of tweaking. One of these ways is by letting Apache -handle routes directly, rather than using Symfony for this task. - -.. caution:: - - Apache router was deprecated in Symfony 2.5 and removed in Symfony 3.0. - Since the PHP implementation of the Router was improved, performance gains - were no longer significant (while it's very hard to replicate the same - behavior).