Page Contents

Home > @loopback/http-caching-proxy > ProxyOptions > ttl

ProxyOptions.ttl property

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

Default: one day

Signature:

ttl?: number;