Answer the question
In order to leave comments, you need to log in
Is it possible to save search results so that the transition to another page does not take much time?
Is it possible to save search results so that the transition to another page does not take much time? I'm using the standard Django paginator.
I would like to make it so that during the search (first) request, the search results are somehow saved (maybe more than 1000 results), and the transition to the next page takes as little time as possible, because, as I understand it, the djangi paginator sends a new query in the database, so each transition takes a lot of time (sometimes up to 7 seconds).
Answer the question
In order to leave comments, you need to log in
Can. Smoke the manual:
https://docs.djangoproject.com/en/3.2/topics/cache/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question