Header in cache-file may have different sizes. Read all lines before found line with known prefix