4 ms·
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.
by nprateem 2y ago
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.
- telgareith 2y ago[assumption]
- danpalmer 2y agoMy 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.