Upd: Update smarty from 3.1 beta to 3.1.17 stable. Add: Smarty filter to speed up page loading.