diff options
author | Bwko <bouwko@gmail.com> | 2017-01-25 05:26:31 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-25 12:26:31 +0800 |
commit | 8555e888d8690df718b1673b8409a29d05770cf4 (patch) | |
tree | 19b7cb9e6f548b87aef122b66f99e04dcfe36335 /cmd | |
parent | 8093b3372e812af6a5c3aab32559881011861243 (diff) | |
download | gitea-8555e888d8690df718b1673b8409a29d05770cf4.tar.gz gitea-8555e888d8690df718b1673b8409a29d05770cf4.zip |
Add ETag header to avatars (#721)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 9942f19a50..f21244a54a 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -99,6 +99,7 @@ func newMacaron() *macaron.Macaron { macaron.StaticOptions{ Prefix: "avatars", SkipLogging: setting.DisableRouterLog, + ETag: true, }, )) |