Added better cache possibilities to the ting_execute_cache function