Added query caching for homepage and nav