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.
forgejo/routers
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
..
api/v1 Ensure that rebase conflicts are handled in updates (#16952) 3 years ago
common Rename context.Query to context.Form (#16562) 3 years ago
install Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
private Add bundle download for repository (#14538) 3 years ago
utils just add some unit tests (#16291) 3 years ago
web Add Cache-Control to avatar redirects (#16973) 3 years ago
init.go Refactor: Move login out of models (#16199) 3 years ago