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

caching before the first request #215

Open
thesealednectar22 opened this issue Jun 10, 2022 · 1 comment
Open

caching before the first request #215

thesealednectar22 opened this issue Jun 10, 2022 · 1 comment

Comments

@thesealednectar22
Copy link

Description

I have a use case where I need to cache a particular request before the user requests the same. This is a list page paginated by pagenumberpagination and table is 30M records. Can you please suggest a way to cache the queryset before user hits the page?

Rationale

@Andrew-Chen-Wang
Copy link
Collaborator

In prod, you could run a task job with celery or a manage.py script with a cron job that runs a query with prod env variables.

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

2 participants