These results imply that IFN-γ positively affects CD8+ memory precursor cell commitment early during infection and is essential for memory CD8+ T-cell persistence and function. Here, CD8A is linked to infection.