Create general cache directory provider.