only cache during production