setting cache directory in glance