Docs: add labels in cache docs

Provide labels in cache docs in order to allow Intersphinx cross references.