Create a cache class for linked data.