Commit fa395f84 authored by Romain Courteaud's avatar Romain Courteaud

Do not cache result as response depend of query content

Yes, this is bad...
parent bd711df6
No related merge requests found
......@@ -399,7 +399,7 @@ class InstancePublisher(GenericPublisher):
self.REQUEST.response.setStatus(200)
self.REQUEST.response.setHeader('Cache-Control',
'max-age=300, private')
'no-cache, no-store')
self.REQUEST.response.setBody(jsonify({'result': result}))
return self.REQUEST.response
......
18
\ No newline at end of file
19
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment