diff options
| author | Ralph Reid <5435062+ralphreid@users.noreply.github.com> | 2016-07-03 20:47:51 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-10 08:29:25 +0200 |
| commit | 950a84ce42e087a665449a1323e868d6660efbeb (patch) | |
| tree | 7659f93240a56b7049b5a7e65763b1cd0a7a0bac | |
| parent | d959d66fa9b930c7264cb7db90e8ec626e2c44dd (diff) | |
[4.1.x] Fixed #25996 -- Revised performance section in URLs topic docs.
Backport of d3579ca1124a163cad760558e8d138984e7a10b4 from main
| -rw-r--r-- | docs/topics/http/urls.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 9ac0f93ff0..823567f5f4 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -317,8 +317,9 @@ default argument for ``num``, ``1``. If the second pattern matches, Performance =========== -Each regular expression in a ``urlpatterns`` is compiled the first time it's -accessed. This makes the system blazingly fast. +Django processes regular expressions in the ``urlpatterns`` list which is +compiled the first time it's accessed. Subsequent requests use the cached +configuration via the URL resolver. Syntax of the ``urlpatterns`` variable ====================================== |
