Smarty update to version 3.1.12
Implemented template caching functionality