DCA-mediated TGR5 activation inhibited the NF-κB and NLRP3 pathways and mastitis caused by S. aureus via activating cAMP and PKA. This evidence concerns the gene GPBAR1 and mastitis.