implement smart cache invalidation by domain plugin and whitelist record date