14 Commits (2ff0c12a95d52ef97286b5bce681a0c33263cd1b)

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