---
title: "Class CachingData"
slug: "sitecore.layoutservice.client.response.model.presentation.cachingdata"
abstract: ""
---
# Class CachingData

Represents the caching information for a device rendering returned in a Sitecore layout service response.

## Inheritance

System.Object

CachingData

### **Namespace**: Sitecore.LayoutService.Client.Response.Model.Presentation

#### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

##### Syntax

```csharp
public class CachingData : Object

```

### Constructors

#### CachingData()

##### Declaration

```csharp
public CachingData()

```

### Properties

#### Cacheable

Gets or sets the 'cacheable' flag.

##### Declaration

```csharp
public Nullable<bool> Cacheable { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### ClearOnIndexUpdate

Gets or sets the 'clear on index update' flag.

##### Declaration

```csharp
public Nullable<bool> ClearOnIndexUpdate { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByData

Gets or sets the 'vary by data' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByData { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByDevice

Gets or sets the 'vary by device' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByDevice { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByLogin

Gets or sets the 'vary by login' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByLogin { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByParameters

Gets or sets the 'vary by parameters' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByParameters { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByQueryString

Gets or sets the 'vary by query string' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByQueryString { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |

#### VaryByUser

Gets or sets the 'vary by user' flag.

##### Declaration

```csharp
public Nullable<bool> VaryByUser { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Nullable<br><br><<br><br>System.Boolean<br><br>> |  |
