8000 Reviewed Configuration cookbook articles by javiereguiluz · Pull Request #5098 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Reviewed Configuration cookbook articles #5098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added a note against using the Apache Router
  • Loading branch information
javiereguiluz committed Mar 25, 2015
commit aedaccd54cc2087e7c5d7399451fb8a8ec9e51a1
9 changes: 9 additions & 0 deletions cookbook/configuration/apache_router.rst
< 8000 /thead>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ApacheUrlMatcher as well as the ApacheMatcherDumper are deprecated. Should we add warning about this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I think we should - I think this whole "article" is deprecated

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a note about not using Apache Router in aedaccd. Please tell me if it's OK. Thanks.

Expand Down
0