From 81e8a64ba795f8a14e90462fd2f79851e23463b2 Mon Sep 17 00:00:00 2001 From: Drew Hammond <2405390+drewhammond@users.noreply.github.com> Date: Fri, 3 Nov 2023 00:04:08 -0400 Subject: [PATCH] cache favicons for one year (#257) --- internal/app/ui/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/ui/routes.go b/internal/app/ui/routes.go index 884ff69..4fc514f 100644 --- a/internal/app/ui/routes.go +++ b/internal/app/ui/routes.go @@ -150,7 +150,7 @@ func (s *Service) RegisterRoutes() { router.GET("/policy-groups/:name", s.getPolicyGroup) router.GET("/assets/*", ViteHandler(), CacheControlMiddleware) - router.GET("/favicons/*", ViteHandler()) + router.GET("/favicons/*", ViteHandler(), CacheControlMiddleware) } }