You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin Improve SMTP authentication and Fix user creation bugs (#16612) 3 years ago
dev Refactor routers directory (#15800) 3 years ago
events Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
explore Related refactors to ctx.FormX functions (#16567) 3 years ago
org Add modals to Organization and Team remove/leave (#16471) 3 years ago
repo Ensure that rebase conflicts are handled in updates (#16952) 3 years ago
user Add Cache-Control to avatar redirects (#16973) 3 years ago
base.go Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
goget.go Related refactors to ctx.FormX functions (#16567) 3 years ago
home.go Refactor routers directory (#15800) 3 years ago
metrics.go Refactor routers directory (#15800) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Fix wiki raw commit diff/patch view (#16891) 3 years ago