# compressionEnabled

> Controls compression of cache data. Enabled by default.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static bool compressionEnabled { get; set; }
```

### Remarks

If cache compression is enabled, then all data will be stored in a compressed form using fast LZ4 algorithm. This property affects only further downloads. It doesn't compress or decompress existing content in the cache.

Default value is "true".

Additional Resources: [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.7/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).
