You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache is opt-in (should be explicitly turned on through config or Reality.cache!)
Cache path should be configured (with reasonable default somewhere in /tmp?..)
Each entity is cached by name, in two separate file: wikipedia data & wikidata data (we cache source, not parsed entity, because after adding new parsers richer data can be extracted from same cached source; drawback is parsing speed)
There should be way to query if entity is from cache or from the wild (or, alternatively, how old is it)
Dictionaries (lists) caching.
In future, we should consider:
TTL settins (even per-entity);
Explicity refreshing entity or invalidating cache;
Methods, if possible, for meta-query Wikipedia/Wikidata "if the page changed" (for cached pages), and load them only in this case.
The text was updated successfully, but these errors were encountered:
First take: eternal cache with manual cleanup.
Reality.cache!
)/tmp?
..)In future, we should consider:
The text was updated successfully, but these errors were encountered: