News for hackers. Stuff that matters.
Re:The Practical Guide to Scaling Django by nprateem on Saturday November 16, 2024 @06:25AM (#42155864)
It'd be faster to retrieve from a cache than to make a round-trip to a DB to get the data needed for templating.
Re:The Practical Guide to Scaling Django by telgareith on Saturday November 16, 2024 @08:44AM (#42156365)
[assumption]
Re:The Practical Guide to Scaling Django by danpalmer on Saturday November 16, 2024 @07:55PM (#42161011)
My point was that you shouldn't be doing DB queries in the template. If you're doing the DB queries before templating then you should also be doing the cache queries before templating too.