From 950a84ce42e087a665449a1323e868d6660efbeb Mon Sep 17 00:00:00 2001 From: Ralph Reid <5435062+ralphreid@users.noreply.github.com> Date: Sun, 3 Jul 2016 20:47:51 +0200 Subject: [PATCH] [4.1.x] Fixed #25996 -- Revised performance section in URLs topic docs. Backport of d3579ca1124a163cad760558e8d138984e7a10b4 from main --- docs/topics/http/urls.txt | 5 +++-- 1 file 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 ======================================