In this study, we demonstrated that a Toll-like receptor 2 (TLR2) agonist-fused antigen increased antigen presentation via TLR2 signaling and induced effector memory-like CD8+ T cells against cancer after immunization. This evidence concerns the gene TLR2 and cancer.