[LFSIndexCache] Add constraintsCachingEnabled() to specialization for unconstrained spaces