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

Source: https://imqueue.org/api/pg-cache/latest/pg-cache.cachebyoptions.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 for cached values. If not specified - default is used. Default is equivalent of 24 hours. Must be specified in milliseconds.

**Signature:**

```typescript
ttl?: number;
```

