From 23b66cba4705aab6d4d94eb543695ca99694ee2a Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Wed, 14 Jan 2026 18:27:25 +0100 Subject: [PATCH] Use full instance url for cache key (#243) Closes #240 Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/243 Reviewed-by: orangix Co-authored-by: video-prize-ranch Co-committed-by: video-prize-ranch --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 23bb2e5..7877ca3 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,7 @@ func main() { Expiration: 30 * time.Minute, MaxBytes: 25000000, KeyGenerator: func(c *fiber.Ctx) string { - return utils.GetInstanceProtocol(c) + " " + c.OriginalURL() + return utils.GetInstanceUrl(c) + c.OriginalURL() }, CacheControl: true, StoreResponseHeaders: true,