forgejo/routers/web
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
..
admin Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
auth Add more descriptive error on forgot password page (#26848) 2023-09-01 16:15:39 +00:00
devtest
events
explore remove unnecessary explore org template (#26459) 2023-08-11 16:07:04 -04:00
feed
healthcheck
misc
org move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
repo Move some functions to service layer (#26969) 2023-09-08 21:09:23 +00:00
shared Fix the display of org level badges (#26504) 2023-09-06 14:38:14 +08:00
user Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
auth.go
auth_windows.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
web.go User details page (#26713) 2023-08-31 11:21:18 +02:00
webfinger.go