Gut microbiota-mediated secondary bile acid alleviates Staphylococcus aureus-induced mastitis through the TGR5-cAMP-PKA-NF-κB/NLRP3 pathways in mice. Here, NLRP3 is linked to mastitis.