private static void ValidateCacheItem(HttpContext context, object data, ref HttpValidationStatus status) { if (context.Kentico().Preview().Enabled) { status = HttpValidationStatus.IgnoreThisRequest; } }