Name
easy:SetOpt_CA_Cache_Timeout -- life-time for cached certificate stores (V2.0)
Synopsis
easy:SetOpt_CA_Cache_Timeout(age)
Function
This sets the timeout in seconds. This tells libcurl the maximum time any cached certificate store it has in memory may be kept and reused for new connections. Once the timeout has expired, a subsequent fetch requiring a certificate store will have to build a new one.

Building a certificate store from a #CURLOPT_CAINFO file is a slow operation so curl may cache the generated certificate store internally to speed up future connections.

Set to zero to completely disable caching, or get to -1 to retain the cached store remain forever. By default, libcurl caches this info for 24 hours.

Inputs
age
input value

Show TOC