---
title: "Class WebDefaults.CulturesCache"
slug: "web-sdk--stylelabs.m.sdk.webclient.webdefaults.culturescache"
abstract: ""
---
# Class WebDefaults.CulturesCache

Setting for the cultures cache.

## Inheritance

object

WebDefaults.CulturesCache

## Namespace: StylelabsStylelabs.MSdkWebClient

## Assembly: Stylelabs.M.Sdk.WebClient.dll

## Syntax

```csharp
public static class WebDefaults.CulturesCache
```

## Properties

### CacheDuration

Gets or sets how long a definition should be cached.

#### Declaration

```csharp
public static TimeSpan CacheDuration { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| TimeSpan |  |

### SlidingExpiration

Gets or sets a value indicating whether if the cache should use sliding expiration.

#### Declaration

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

#### Property Value

| Type | Description |
| --- | --- |
| bool |  |
