Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] templates not cached at startup in some pages [C-Michael83]
(2008-11-06, 02:53 PM)Ryan Gordon Wrote: We're not going to cache every-single template because most of them won't be used and they would just take up memory

ok.. it's right, but you can put an if statement to include them at startup when you know you'll need them Big Grin

in user profile in exemple you will do two extra query to db, it also take up memory and in user profile you could have more requests each time spend extra queries, simply you can check at user profile page start if you are showing a profile.. if yes you'll put the templates in the cache at startup Big Grin
..:: Luca ::..
ยป my italian personal blog:
[Image: ub.gif]

Messages In This Thread
RE: templates not cached at startup in some pages - by luke83 - 2008-11-06, 03:27 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)