check out:
http://docs.djangoproject.com/en/1.2/topics/cache/#controlling-cache-using-other-headers
On Feb 20, 7:06 am, Олег Корсак
wrote:
> Hello. I have memcached mw enabled. And I can see that response is
> cached in memcached. I want to stop caching that. How is it possible to
> do? Thanks
>
A quick and dirty way is to append a timestamp to the URL so it's
always unique. That way it won't be cached.
Add "new Date().getTime()" to the end of the URL your AJAX call
requests. Just have your url pattern accept and ignore the extra
stuff.
Shawn
--
You received this message because you ar
Hello. I have memcached mw enabled. And I can see that response is
cached in memcached. I want to stop caching that. How is it possible to
do? Thanks
def do_something(request):
return HttpResponse('yoyoyo23', content_type = 'application/javascript;
charset=utf8')
signature.asc
Descripti
3 matches
Mail list logo