alexreisner/geocoder — Issue #148: Caching "Over API limit" errors
Author: adrianmacneil
Created: 2011-12-11 00:42:14+00:00
State: open

When I geocoded a bunch of addresses too quickly, I ran into the API error

Google Geocoding API error: over query limit

Not a massive issue. The problem is that it looks like this is getting cached, so when I retry the same query again later, I get the API limit error, before it even tries contacting Google. This means that the address is now "blocked" so to speak, unless I manually remove it from the cache.

Would it be possible to automatically remove URLs from the cache when an exception is thrown?