# CacheServerValidationMode

> Options for the accelerate server validation mode.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum CacheServerValidationMode
```

## Remarks

Use this enum with [EditorSettings.cacheServerValidationMode](/engine/6000.6/script-reference/unityeditor/editorsettings/cacheservervalidationmode.md) to select the Accelerator server validation mode for the project. Used in conjunction with the Accelerator server [Accelerator server](/engine/6000.6/manual/assets-and-media/importing-caching-assets/unity-accelerator.md) settings ProtobufBlobHashRequired ProtobufBlobHashValidateGets and ProtobufBlobHashValidatePuts.

## Fields

| Value                                                                                             | Description                                                                                                            |
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [Disabled](/engine/6000.6/script-reference/unityeditor/cacheservervalidationmode/disabled.md)     | Disable validation for the cache server.                                                                               |
| [Enabled](/engine/6000.6/script-reference/unityeditor/cacheservervalidationmode/enabled.md)       | Calculate and upload hashes. Validate Accelerator-provided hashes during downloads.                                    |
| [Required](/engine/6000.6/script-reference/unityeditor/cacheservervalidationmode/required.md)     | Calculate and uploaded content hashes to the Accelerator. Require Accelerator-provided hashes for download validation. |
| [UploadOnly](/engine/6000.6/script-reference/unityeditor/cacheservervalidationmode/uploadonly.md) | Calculate content hashes for uploaded artifacts and send them to the Accelerator for validation.                       |
