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.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
api_org.go
api_test.go
auth.go Respond with a 401 on git push when password isn't changed yet (#20026) 2022-06-19 20:23:00 +01:00
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 Fix org package owner permissions (#19742) 2022-05-19 17:56:45 +02:00
pagination.go Remove tab/TabName usage where it's not needed (#19973) 2022-06-15 23:05:32 +08:00
permission.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
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.go
xsrf_test.go