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

Enable Django cache? #84

Open
davmlaw opened this issue Oct 9, 2024 · 0 comments
Open

Enable Django cache? #84

davmlaw opened this issue Oct 9, 2024 · 0 comments

Comments

@davmlaw
Copy link

davmlaw commented Oct 9, 2024

It doesn't look like your site uses Django cache ?

This can give a significant performance boost - I would think transcript queries would have power law distributions (everyone working on same genes etc) and is very easy to do:

CACHES = {
    "default": {
        "BACKEND": "django.core.cache.backends.redis.RedisCache",
        "LOCATION": "redis://127.0.0.1:6379",
    }
}
@davmlaw davmlaw changed the title Cache Enable Django cache? Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant