Y
Hacker News
new
|
ask
|
show
|
jobs
by
nprateem
584 days 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.
2 comments
danpalmer
584 days ago
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.
link
telgareith
584 days ago
[assumption]
link