DCA attenuates S. aureus-induced mastitis through the TGR5-cAMP-PKA-NF-κB/NLRP3 pathways. Here, NLRP3 is linked to mastitis.