change strategy for writing urls to cache index