Add ETag header to avatars (#721)
This commit is contained in:
parent
8093b3372e
commit
8555e888d8
7 changed files with 50 additions and 9 deletions
|
@ -99,6 +99,7 @@ func newMacaron() *macaron.Macaron {
|
|||
macaron.StaticOptions{
|
||||
Prefix: "avatars",
|
||||
SkipLogging: setting.DisableRouterLog,
|
||||
ETag: true,
|
||||
},
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue