Instead of querying the server every time the page is loaded, cache the results so we don't constantly hammer the server.