Only setup directory cache if bundler caching is enabled