# DEFAULT_CACHE_TTL variable · @imqueue/pg-cache

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

Default lifetime of a cached entry, in milliseconds — 24 hours.

A TTL is a backstop, not the primary invalidation mechanism: entries are normally dropped by a PostgreSQL change notification long before it expires. It exists so an entry cannot outlive its data indefinitely if a notification is ever missed.

**Signature:**

```typescript
DEFAULT_CACHE_TTL = 86400000
```

