forgejo-federation/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 .
2023-09-11 10:14:01 +00:00
..
setting Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
avatar.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Fix the display of org level badges (#26504) 2023-09-06 14:38:14 +08:00
home.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
home_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Use more IssueList instead of []*Issue (#26369) 2023-08-07 19:26:40 +00:00
package.go Show always repo count in header (#26842) 2023-09-06 08:49:36 +00:00
profile.go Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
search.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
stop_watch.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00