flip delegate and clear all caches