diff options
author | silverwind <me@silverwind.io> | 2021-09-06 23:05:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 23:05:44 +0200 |
commit | 9fa6bdb64e66f0175d2c3aa74e51f52858e119b9 (patch) | |
tree | ba529e6f6ea5079c470042c4ffd45f8997bc57dc /templates/org | |
parent | cf6d398485473b9c5af413bc05ba61378be9274b (diff) | |
download | gitea-9fa6bdb64e66f0175d2c3aa74e51f52858e119b9.tar.gz gitea-9fa6bdb64e66f0175d2c3aa74e51f52858e119b9.zip |
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>
Diffstat (limited to 'templates/org')
0 files changed, 0 insertions, 0 deletions