added index to cache directory