Update pixel cache control
This commit is contained in:
parent
4c53b94588
commit
8b98cf2277
@ -87,7 +87,7 @@ class PixelView(ValidateServiceOriginsMixin, View):
|
|||||||
"R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
"R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
||||||
)
|
)
|
||||||
resp = HttpResponse(data, content_type="image/gif")
|
resp = HttpResponse(data, content_type="image/gif")
|
||||||
resp["Cache-Control"] = "no-cache"
|
resp["Cache-Control"] = "no-cache, no-store, must-revalidate"
|
||||||
resp["Access-Control-Allow-Origin"] = "*"
|
resp["Access-Control-Allow-Origin"] = "*"
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user