Skip to content

114 improvement cache geocoding results#115

Open
CaitlinCP wants to merge 2 commits intomainfrom
114-improvement-cache-geocoding-results
Open

114 improvement cache geocoding results#115
CaitlinCP wants to merge 2 commits intomainfrom
114-improvement-cache-geocoding-results

Conversation

@CaitlinCP
Copy link
Copy Markdown
Collaborator

This PR does the following:

Adds a cache class in utils/cache.py that handles a least recently used cache.

The default cache size is 20k records.

The cache is checked for all records that do not match to the address file, before attempting to make API calls. We now only make API calls if there are no matches in the cache.

CaitlinCP added 2 commits May 5, 2026 18:12
Cache matched records with a max cache size of 20k
@CaitlinCP CaitlinCP linked an issue May 5, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IMPROVEMENT: Cache Geocoding Results

1 participant