12 Révisions (3bdd48016f659c440d6e8bb57386fab7ad7b357b)

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