Prevents re-execution of large javascript functions that have been processed once with the same parameter.