On 12/23/07, Eratothene <[EMAIL PROTECTED]> wrote:
> Your snippet requires to restart django each time the templates have
> changed. Did you try to add checking of template file modification
> date in order automatically invalidate cache? What it is performance
> of such implementation? Adding this kind of  mechanism will increase
> performace without any loss of functionality. Such implemention will
> definitely be included into django base. Please, try it out.

I can't speak for the author of the snippet but I think checking the
mtime of a file would defeat the purpose.  Plus, if DEBUG=True that
snippet bypasses the cache anyway.

-Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to