Posted by Marcus Bointon on 09/09/05 01:44
A whole load of my templates are stored in a DB as part of a mailing
list management system. At present it's compiling the templates every
time they are used as there is no particular identifier (like a file
has a name) that smarty gets hold of to associate with a particular
template (unless it creates a hash from each one). The resulting
compiled and parsed output is used and then discarded - no files are
involved at any point. This is wildly inefficient - any suggestions
as to how I might make Smarty deal with this better and which bits of
Smarty I should hack about with??
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
Navigation:
[Reply to this message]
|