feat(config): change gzip_static default to true
Enable pre-compressed file serving by default for better performance. This aligns with the common practice of serving .gz/.br files when available. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
8cc3fdef6f
commit
e32e96ee81
@ -145,7 +145,7 @@ func DefaultConfig() *Config {
|
||||
Type: "gzip",
|
||||
Level: 6,
|
||||
MinSize: 1024,
|
||||
GzipStatic: false,
|
||||
GzipStatic: true,
|
||||
GzipStaticExtensions: []string{".br", ".gz"},
|
||||
Types: []string{
|
||||
"text/html",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user