The study proved the presence of a resident commensal microbiome on the ocular surface, which prevent corneal infections by driving the IL-17 response of mucosal γδ T cells, to identify the cellular mechanisms underlying their effects on ocular immune homeostasis and host defense. Here, IL17A is linked to corneal infection.