Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ETag header to avatars #721

Merged
merged 1 commit into from
Jan 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func newMacaron() *macaron.Macaron {
macaron.StaticOptions{
Prefix: "avatars",
SkipLogging: setting.DisableRouterLog,
ETag: true,
},
))

Expand Down
14 changes: 13 additions & 1 deletion vendor/github.com/go-macaron/bindata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/gopkg.in/macaron.v1/macaron.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions vendor/gopkg.in/macaron.v1/render.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion vendor/gopkg.in/macaron.v1/router.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions vendor/gopkg.in/macaron.v1/static.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@
"revisionTime": "2015-10-06T22:16:25Z"
},
{
"checksumSHA1": "qTJizMr1DBhDTZiRNmC+khEClz8=",
"checksumSHA1": "3w6jybRjyrhohNQJMnIxMC8cYXM=",
"path": "github.com/go-macaron/bindata",
"revision": "de74a053830c7d338bf209adf3b711c969f63e59",
"revisionTime": "2016-01-05T04:39:20Z"
"revision": "85786f57eee3e5544a9cc24fa2afe425b97a8652",
"revisionTime": "2016-12-22T09:30:48Z"
},
{
"checksumSHA1": "qM/kf31cT2cxjtHxdzbu8q8jPq0=",
Expand Down Expand Up @@ -1143,10 +1143,10 @@
"revisionTime": "2016-08-08T14:54:09Z"
},
{
"checksumSHA1": "wzuoHPA/Ccoe1CFnDL35rnL0JoI=",
"checksumSHA1": "u1dW5zfo2SWot04r5cL8dTbmtcc=",
"path": "gopkg.in/macaron.v1",
"revision": "4974334b10dbb6f5c0e17f4c10555ff050a16329",
"revisionTime": "2016-08-26T18:07:28Z"
"revision": "aa6b7ee41a182898a33d798c655df1cac9d2230b",
"revisionTime": "2017-01-22T14:42:53Z"
},
{
"checksumSHA1": "6QPjE+qflEBHg+JPJd9e4iQuRAk=",
Expand Down