Due to the programmable release of CCL21a and GM‐CSF, the hydrogel vaccine inhibits tumor growth and metastasis, via diverting cancer cell TdLNs metastasis to hydrogel, killing cancer cells trapped in the hydrogel to produce tumor antigen, and eliciting prolonged and powerful tumor‐specific immunotherapy coordinately. Here, CSF2 is linked to neoplasm.