LYZ and mastitis: These findings suggested that IRS increases LYZ expression in the mammary glands of GED goats during mastitis and that the high expression of LYZ in GED goats exhibited resistance to mastitis induced by E. coli infection, reduced the expression of SCC and pro‐inflammatory factors in milk, and demonstrated a mitigating effect on BMB damage.