---
lang: en
title: 'API docs: http-caching-proxy.proxyoptions.ttl'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/http-caching-proxy
permalink: /doc/en/lb4/apidocs.http-caching-proxy.proxyoptions.ttl.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/http-caching-proxy](./http-caching-proxy.md) &gt; [ProxyOptions](./http-caching-proxy.proxyoptions.md) &gt; [ttl](./http-caching-proxy.proxyoptions.ttl.md)

## ProxyOptions.ttl property

How long to keep snapshots before making a new request to the backend. The value is in milliseconds.

Default: one day

<b>Signature:</b>

```typescript
ttl?: number;
```

