Use the full Request URL as cache key

This commit is contained in:
iacore
2024-04-25 12:07:50 +00:00
parent bb6f98c2c7
commit ffab149dff
+1 -1
View File
@@ -182,7 +182,7 @@ func main() {
CacheControl: true,
KeyGenerator: func(c *fiber.Ctx) string {
key := utils.CopyString(c.Path())
key := utils.CopyString(c.OriginalURL())
for _, cookieName := range session.AllCookieNames {
cookieValue := session.GetCookie(c, cookieName)
if cookieValue != "" {