Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix context cache bug & enable context cache for dashabord commits' authors(#26991) #27017

Merged
merged 1 commit into from
Sep 13, 2023

Commits on Sep 11, 2023

  1. Fix context cache bug & enable context cache for dashabord commits' a…

    …uthors (go-gitea#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 .
    lunny committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    6a92967 View commit details
    Browse the repository at this point in the history