Add ETag header to avatars (#721)

This commit is contained in:
Bwko authored and Lunny Xiao committed 2017-01-25 12:26:31 +08:00
1 parent 8093b3372e
commit 8555e888d8
7 files changed
+50 -9

No files matched your search

+1
View File
@@ -99,6 +99,7 @@ func newMacaron() *macaron.Macaron {
macaron.StaticOptions{
Prefix: "avatars",
SkipLogging: setting.DisableRouterLog,
ETag: true,
},
))