cache job states