({{, (RefLink[EntityPrefetch, paclet:ref/EntityPrefetch])["type"] 
fetches cacheable values associated with all entities of the specified type.}, {, (RefLink[EntityPrefetch, paclet:ref/EntityPrefetch])[(RefLink[EntityProperty, paclet:ref/EntityProperty])["type","prop"]]
fetches all values for the specified property.}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[EntityPrefetch, paclet:ref/EntityPrefetch])["type"] will fetch all available property values for entities of the specified "type" and save them on the system.

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Fetch all cacheable data for (StringTypeLink["Planet", paclet:ref/interpreter/Planet]) entities:

EntityPrefetch["Planet"]

Prefetch a specific property:

EntityPrefetch[EntityProperty["Island","Position"]]

OpenersExampleSection1(Spacer1)Scope  (3)

(RefLink[EntityPrefetch, paclet:ref/EntityPrefetch]) can be used to preload data for a given (RefLink[Entity, paclet:ref/Entity]) type:

AbsoluteTiming[EntityValue[Entity["Volcano","Kos"],"Elevation"]]

EntityPrefetch["Volcano"]

AbsoluteTiming[EntityValue[Entity["Volcano","Torishima"],"Elevation"]]

If prefetching resources are unavailable, (RefLink[Failure, paclet:ref/Failure]) is returned:

EntityPrefetch["not an entity domain"]

(RefLink[EntityPrefetch, paclet:ref/EntityPrefetch]) only fetches properties that are not already populated on the system:

AbsoluteTiming[EntityPrefetch["GrammaticalUnit"]]

AbsoluteTiming[EntityPrefetch["GrammaticalUnit"]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[EntityValue, paclet:ref/EntityValue])  ▪  (RefLink[EntityProperty, paclet:ref/EntityProperty])  ▪  (RefLink[Entity, paclet:ref/Entity])  ▪  (RefLink[EntityClass, paclet:ref/EntityClass])  ▪  (RefLink[Success, paclet:ref/Success])  ▪  (RefLink[DatabaseConnect, paclet:ref/DatabaseConnect])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Knowledge Representation & Access, paclet:guide/KnowledgeRepresentationAndAccess])}})}})