forgejo/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
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
notification.go
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
stop_watch.go
task.go