# CacheWithOptions.ttl property · @imqueue/pg-cache

Source: https://imqueue.org/api/pg-cache/latest/pg-cache.cachewithoptions.ttl/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-cache 5.0.6 — generated reference, not hand-written

Time to live in milliseconds. By default is equivalent to 24 hours

**Signature:**

```typescript
ttl?: number;
```

