Caching templates if they exists.
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Caching templates if they exists.
You do realise that $templatecache isn't the only way to approach things, right?
You can use $templates->cache function too (though will invoke an extra query).

For groups, you can simply loop over the groups cache during global_start and build the list there - there's no need to hard code in a long list.

My Blog
05-12-2012 09:29 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Caching templates if they exists. - Sama34 - 05-07-2012, 01:50 PM
RE: Caching templates if they exists. - ZiNgA BuRgA - 05-12-2012 09:29 AM

 Standard Tools
Forum Jump: