IL-7R licenses a population of epigenetically poised memory CD8+ T cells with superior antitumor efficacy that are critical for melanoma memory. This evidence concerns the gene IL7R and melanoma.