3 ms·
The database is not huge at all, fewer than 10k entries, each of which is a key-value pair. It's bigger than I'd want to include in a client-side Javascript fi
by URSpider94 15y ago
The database is not huge at all, fewer than 10k entries, each of which is a key-value pair. It's bigger than I'd want to include in a client-side Javascript file, but it's certainly small enough to keep on your server.
The only problem with this is that, while all ZIP codes have canonical names, some also have additional allowed names that users may identify closely with. So, if you auto-complete the canonical name, the user may think that you've made a mistake.