runserver cache my template files

161 views
Skip to first unread message

Tomás Garzón Hervás

unread,
Jun 22, 2012, 2:34:45 AM6/22/12
to django...@googlegroups.com
Hi, I've updated to django 1.4 and I have many "cache" problems with runserver when I change only templates files in my project. If I change my source code of html file, when I go to browser to view this page, I can't see the new code in my html file. I have to reboot the runserver and reload the page. 
I don't use noreloading option and when I change source code of views (files python) it's ok.

bruno desthuilliers

unread,
Jun 22, 2012, 3:02:23 AM6/22/12
to django...@googlegroups.com
I assume you did check your browser cache ?

Tomás Garzón Hervás

unread,
Jun 22, 2012, 3:21:50 AM6/22/12
to django...@googlegroups.com
Yes, and I reload the browser with empty cache.
thanks

Kurtis Mullins

unread,
Jun 22, 2012, 2:59:46 PM6/22/12
to django...@googlegroups.com
Are you using a non-temorary caching mechanism like Memcache or DB Caching? If so, do you have caching directives in your templates?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/GE0EUGFeQKwJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Reply all
Reply to author
Forward
0 new messages