Improve performance for

- Caching information locally to speed up the list of invoices and customer search.