---
title: "ExpiryData | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias ExpiryData

A type used to store the tile's expiration date and cache control definition

type ExpiryData \= {  
    [cacheControl](#cachecontrol)?: string | null;  
    [etag](#etag)?: string;  
    [expires](#expires)?: Date | string | null;  
}

##### Index

### Properties[](#properties)

[cacheControl?](#cachecontrol) [etag?](#etag) [expires?](#expires)

## Properties[](#properties-1)

### `Optional`cacheControl[](#cachecontrol)

cacheControl?: string | null

### `Optional`etag[](#etag)

etag?: string

### `Optional`expires[](#expires)

expires?: Date | string | null
