use agent cache in getSourceRefs