Commit Graph

12 Commits (6a0ef71984b9246fc1bb378caaa614f3dedaa9e9)

Author SHA1 Message Date
Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 2 years ago
wxiaoguang ccb3851281
Add some comments for recent code (#22725) 2 years ago
Brecht Van Lommel 1e0e79dcbf
Fix cache-control header clearing comment text when editing issue (#22604) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
silverwind 14178c56bb
Add Cache-Control header to html and api responses, add no-transform (#20432) 2 years ago
zeripath 9f5ddca57c
Set the LastModified header for raw files (#18356) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
KN4CK3R a35a5b225c
Add ETag header (#15370) 4 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 4 years ago
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569) 4 years ago