Skip to content

Commit 7e749e7

Browse files
committed
fix: comment out Accept-Language header variation in output caching configuration
1 parent 1dd837e commit 7e749e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Web/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
builder.Cache()
9393
.SetVaryByHost(true)
9494
.SetVaryByQuery("*")
95-
.SetVaryByHeader("Accept-Language") // Vary by language
95+
// .SetVaryByHeader("Accept-Language") // Vary by language
9696
.Expire(TimeSpan.FromHours(6)) // Cache for 6 hours by default
9797
.Tag("outputcache", "site")); // Add tags for better organization
9898

0 commit comments

Comments
 (0)