[SMARTY] Caching compiled non-file templates

Marcus Bointon <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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
[email protected] | http://www.synchromedia.co.uk

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.