#6731: Don't call get_cache if we have no intention of calling set_cache.
Merge pull request #6736 from openscholar/6731-facetapi_cache

Don't call get_cache if we have no intention of calling set_cache