Skip to content

Commit

Permalink
libcurl/performance.md: mention CA caching
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jul 31, 2024
1 parent 099d523 commit 735fccb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libcurl/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ your application uses connections, but if it for example iterates over N
hostnames in a short period of time, it could make sense for you to make sure
that libcurl can keep all those connections alive.

## CA store caching

For every new connection done using TLS, libcurl needs to access the CA store
to verify the remote server's certificate. If your applications do many
connections, make sure you take advantage of libcurl's CA caching so that
libcurl can avoid loading and parsing several hundred kilobytes from disk over
and over. This is however not yet supported by all TLS backends.

## make callbacks as fast as possible

In high speed data downloads, the write callback is called many times. If this
Expand Down

0 comments on commit 735fccb

Please sign in to comment.