From 5fe7ef244aef232010c392a81b81345e29770a6c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 29 Aug 2016 15:47:44 +0200 Subject: [PATCH 1/2] Update the Apache Router article to deprecate it entirely --- configuration/apache_router.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/configuration/apache_router.rst b/configuration/apache_router.rst index 69c7ec14307..59cbafd448d 100644 --- a/configuration/apache_router.rst +++ b/configuration/apache_router.rst @@ -10,15 +10,6 @@ How to Use the Apache Router 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 From c888427a2c17d0e97958a921db7192b1eaa62afa Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 4 Oct 2016 13:17:16 +0200 Subject: [PATCH 2/2] Removed the Apache Router article and added a redirection to /routing --- _build/redirection_map | 3 ++- components/routing.rst | 1 - configuration/apache_router.rst | 16 ---------------- 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 configuration/apache_router.rst 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 59cbafd448d..00000000000 --- a/configuration/apache_router.rst +++ /dev/null @@ -1,16 +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. - - 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).