diff --git a/views.py b/views.py index 20a3b0e..0637aa8 100644 --- a/views.py +++ b/views.py @@ -601,7 +601,8 @@ def add_comment(request, post_id, parent_id): connection.close() response = HttpResponseRedirect(ref) - response['Cache-Control'] = 'no-cache' + response['Cache-Control'] = 'no-store, no-cache, must-revalidate' + response['Expires'] = 'Thu, 01 Jan 1970 00:00:00 GMT' response.set_cookie('author', request.POST['author'], domain=blog.name, secure=True, httponly=False); if request.POST['email'] != '':