Enabling smarty cache