You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/user
Lunny Xiao ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#26991)
Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
1 year ago
..
setting Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
avatar.go Set `X-Gitea-Debug` header once (#23361) 2 years ago
code.go Fix the display of org level badges (#26504) 1 year ago
home.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
home_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notification.go Use more `IssueList` instead of `[]*Issue` (#26369) 2 years ago
package.go Show always repo count in header (#26842) 1 year ago
profile.go Count only visible repos on profile (#25928) 2 years ago
search.go Replace `interface{}` with `any` (#25686) 2 years ago
stop_watch.go Move `convert` package to services (#22264) 2 years ago
task.go Replace `interface{}` with `any` (#25686) 2 years ago