0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 11:55:46 +01:00
gitea/modules/context
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432)
`no-transform` allegedly disables CloudFlare auto-minify and we did not
set caching headers on html or api requests, which seems good to have
regardless.

Transformation is still allowed for asset requests.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2022-07-23 14:38:03 +08:00
..
access_log.go
api_org.go
api_test.go
api.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
auth.go
captcha.go
context.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
csrf.go
form.go
org.go Allow access to the Public Organization Member lists with minimal permissions (#20330) 2022-07-15 15:21:54 +01:00
package.go
pagination.go
permission.go
private.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
repo.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
response.go
utils.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
xsrf_test.go
xsrf.go