plzz solve this problem

https://stackoverflow.com/questions/51239469/cache-invalidation-is-not-working-in-browser-using-or-app-rest-api

On Monday, November 30, 2015 at 11:13:29 PM UTC+5:30, Dimitris R wrote:
>
> Hello, 
>
> I am using Django 1.8.2 and caching my views using the @cache_page 
> decorator:
>
> @cache_page(60 * 5)
> def view_name(request, obj_id):
>   [...]
>
> Is there a way to clear the cached entry programmatically, prior of the 
> cache timeout?
>
> Thanks, 
> Dimitris
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2a491587-c107-45d2-8156-ff4a5215d9de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to