Added better cache possibilities to the ting_execute_cache function and add missing documentation