Commit Graph

6 Commits (1546580f9e6bcb5fcd057e0cb10b1884efee3763)

Author SHA1 Message Date
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 4 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 4 years ago
KN4CK3R a35a5b225c
Add ETag header (#15370) 5 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 5 years ago
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569) 5 years ago