cleanup preCache logic