Opened 9 years ago
Last modified 9 years ago
#27847 closed New feature
Cache Form Templates — at Version 1
| Reported by: | Collin Anderson | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 1.11 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Template-based widget rendering is super slow... can I add a CachedDjangoTemplates render?
Change History (1)
comment:1 by , 9 years ago
| Description: | modified (diff) |
|---|---|
| Type: | Uncategorized → New feature |
Note:
See TracTickets
for help on using tickets.
Are you are having performance problems in development? If you didn't notice, in 1.11, "the cached template loader is now enabled if
DEBUGisFalseandOPTIONS['loaders']isn’t specified." That makes the proposed loader class only useful in development sinceDjangoTemplatesis equivalent toCachedDjangoTemplatesifDEBUG=False.