Implemented database cache. Untested because server is down