handleCacheInvalidation(scheduledResource, preScheduledResource) {
        if (
            (scheduledResource.status === 'published' && preScheduledResource.status !== 'published') ||
            (scheduledResource.status === 'draft' && preScheduledResource.status === 'published')
        ) {
            return true;
        } else if (
            (scheduledResource.status === 'draft' && preScheduledResource.status !== 'published') ||
            (scheduledResource.status === 'scheduled' && preScheduledResource.status !== 'scheduled')
        ) {
            return {
                value: urlUtils.urlFor({
                    relativeUrl: urlUtils.urlJoin('/p', scheduledResource.uuid, '/')
                })
            };
        } else {
            return false;
        }
    }
@param {Object} scheduledResource post or page resource object
@param {Object} preScheduledResource post or page resource object in state before publishing
@returns {boolean|{value: string}}