From 8b98cf22778f42fe4c716a8c4519b603d5d5dcc0 Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Sat, 11 Jul 2020 17:26:53 +0000 Subject: [PATCH] Update pixel cache control --- shynet/analytics/views/ingress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shynet/analytics/views/ingress.py b/shynet/analytics/views/ingress.py index f750f92..b7083e4 100644 --- a/shynet/analytics/views/ingress.py +++ b/shynet/analytics/views/ingress.py @@ -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