More corrections to the caching of Smarty, I really should have read more about it before implementing :-)