0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 19:54:40 +01:00
gitea/routers/web
silverwind 9fa6bdb64e
Add Cache-Control to avatar redirects (#16973)
* Add Cache-Control to avatar redirects

This does seem to do the trick to make the Avatar redirects cachable
in Chrome.

In Firefox, it does not seem to work, thought and I found no way to
suppress the requests to the original URLs, I even tried setting an
Etag to no avail.

Related discussion in https://github.com/go-gitea/gitea/issues/16964.

Co-authored-by: zeripath <art27@cantab.net>
2021-09-06 23:05:44 +02:00
..
admin
dev
events
explore
org Add modals to Organization and Team remove/leave (#16471) 2021-08-26 22:57:40 -04:00
repo Ensure that rebase conflicts are handled in updates (#16952) 2021-09-05 10:30:40 +01:00
user Add Cache-Control to avatar redirects (#16973) 2021-09-06 23:05:44 +02:00
base.go
goget.go
home.go
metrics.go
swagger_json.go
web.go Fix wiki raw commit diff/patch view (#16891) 2021-08-31 04:22:54 +02:00