Open ghost opened 5 years ago
Basically caching more + caching some ids rather than querysets. Approx. 50% less DB hits, 26 s -> 9 s total. Might be worth trying before going PITA of storing and updating percentages in the DB.
Basically caching more + caching some ids rather than querysets. Approx. 50% less DB hits, 26 s -> 9 s total. Might be worth trying before going PITA of storing and updating percentages in the DB.