Externalize line definitions cache