Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add no-cache header to pixel tracker image

Kailash Nadhb7d5a4d8c8dc
diff --git a/public.go b/public.go
index aabdddeb..220cefe1 100644
--- a/public.go
+++ b/public.go
@@ -132,6 +132,7 @@ func handleRegisterCampaignView(c echo.Context) error {
}
}
+ c.Response().Header().Set("Cache-Control", "no-cache")
return c.Blob(http.StatusOK, "image/png", pixelPNG)
}