Update pixel cache control

This commit is contained in:
R. Miles McCain 2020-07-11 17:26:53 +00:00
parent 4c53b94588
commit 8b98cf2277
No known key found for this signature in database
GPG Key ID: F1053629E2905557

View File

@ -87,7 +87,7 @@ class PixelView(ValidateServiceOriginsMixin, View):
"R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
)
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"] = "*"
return resp