You are here: Caching compiled non-file templates « Smarty Templates Posts « IT news, forums, messages
Caching compiled non-file templates

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация