Tissue-resident memory CD8 T cells (TRM) and tumor-infiltrating lymphocytes (TILs) with a TRM-like phenotype (CD49a+, CD103+) (integrin α1+, integrin αEβ7+) confer protection against a variety of illnesses ranging from infectious diseases to cancers. Here, CD8A is linked to cancer.