Fixed global caching directory vs on-the-fly caching directory