On May 14, 8:19 pm, online <online.service....@gmail.com> wrote:
> Hi all,
>
> I have a small project still under development. I don't set any cache
> stuff yet. But for somehow django still cache all web pages.
>
> Why django default uses cache?  How can i disable the all level
> caches?
>
> I tried
>
> from django.views.decorators.cache import cache_control
>
> @cache_control(private=True)
>
> and
>
> from django.views.decorators.cache import never_cache
>
> @never_cache
>
> on views.py but not working
>
> Thanks for any help.

Django doesn't cache anything unless you tell it to. What makes you
think your pages are being cached? You will need to give us some
details of your setup before we can help.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to