#9874: Added template cache in template loader
---------------------------------------------+------------------------------
Reporter: novoya | Owner: novoya
Status: reopened | Milestone: post-1.0
Component: Template system | Version: SVN
Resolution: | Keywords: template cache
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by mtredinnick):
This is almost certainly going to cause rednering bugs. The Python objects
representating templates are not just the compiled form, they also
(intentionally) contain rendering state. It also assumes that the same
name will load the same template in every thread, which isn't true (a
dynamic template loader, for example). So there are larger considerations
that don't seem to have been addressed here.
Right now, this is probably the wrong approach to solving the perceived
problem, but want to think about it some more.
--
Ticket URL: <http://code.djangoproject.com/ticket/9874#comment:6>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---