Cache lines that didn't change

If I didn’t change lines from the begging of a file, can you cache it and start from where it did start changing?