That depends entirely on your cache configuration! Caching in django: http://docs.djangoproject.com/en/dev/topics/cache/
Automatic caching modules that rely on memcached exist, like Johnny Cache (http://packages.python.org/johnny-cache/) and Django Cache Machine (http://github.com/jbalogh/django-cache-machine) -Sævar On Jul 9, 4:30 am, Venkatraman S <venka...@gmail.com> wrote: > On Fri, Jul 9, 2010 at 3:40 AM, Antoni Aloy <antoni.a...@gmail.com> wrote: > > I would use a custom template tag with cache > > I was planning to recommend the same, but i wasnt sure whether this is > efficient when compared with context-processor solution. I had used template > tags for a similar requirement for one of my clients. > > Is the DB queried repeatedly in cases wherein a template tag is used across > pages? or is the data/query cached? > > -V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.