Wednesday, January 25, 2012

Caching and excluding in a template

Hello,

wondering if there is any easy way to exclude a little part from a
template to be cached, on every site there is a the usual register/login
or you are logged in with a user menu, back in php+smarty times it was
easy solved using a dynamic tag to easily exclude a small part from
being cached.

So far I only saw you could turn off caching for logged-in users or fine
grade what is being cached, the first I dont want (only caching stuff
which looks same for all users except the user menu) and the latter
seems to be quite some work compared to just exclude a litte part in the
base template.

Greetings,
Thorsten

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate