mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
[4.0.x] Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.
Clarified that the cached template loader is enabled by default when
DEBUG = False.
Backport of 5cc9464e4d
from main
This commit is contained in:
parent
c0a34befea
commit
280661bf35
1 changed files with 4 additions and 2 deletions
|
@ -207,8 +207,10 @@ This helps a lot on virtualized hosts with limited network performance.
|
|||
--------------------
|
||||
|
||||
Enabling the cached template loader often improves performance drastically, as
|
||||
it avoids compiling each template every time it needs to be rendered. See the
|
||||
:ref:`template loaders docs <template-loaders>` for more information.
|
||||
it avoids compiling each template every time it needs to be rendered. When
|
||||
:setting:`DEBUG = False <DEBUG>`, the cached template loader is enabled
|
||||
automatically. See :class:`django.template.loaders.cached.Loader` for more
|
||||
information.
|
||||
|
||||
Error reporting
|
||||
===============
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue