Name
authenticate_ttl
Synopsis
Squid maintains a cache of proxy authentication usernames and credentials. Squid periodically removes unused entries to keep memory usage down. This directive specifies how long Squid keeps entries in the proxy authentication username cache. A user’s TTL is extended each time Squid receives a request from that user.
Tip
This directive doesn’t determine how long credentials remain valid. It only affects whether or not an entry is removed from the username cache. Squid may decide to revalidate the credentials of a user that is in the cache. Each authentication scheme has its own way of determining when to revalidate credentials with the external helper.
Syntax | authenticate_ttl |
Default | authenticate_ttl 1 hour |
Example | authenticate_ttl 30 minutes |
Related | authenticate_cache_garbage_interval, auth_param |
Get Squid: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.