summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2017-01-25 05:26:31 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-25 12:26:31 +0800
commit8555e888d8690df718b1673b8409a29d05770cf4 (patch)
tree19b7cb9e6f548b87aef122b66f99e04dcfe36335 /cmd/web.go
parent8093b3372e812af6a5c3aab32559881011861243 (diff)
downloadgitea-8555e888d8690df718b1673b8409a29d05770cf4.tar.gz
gitea-8555e888d8690df718b1673b8409a29d05770cf4.zip
Add ETag header to avatars (#721)
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go1
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,
},
))