Long transfer time - Problem with SSL-Handshake

We have a Shopware instance running on a web server and use Cloudflare as CDN in this context.
Several times throughout the day, we have problems with very long response times, both in the frontend and in the backend.

I downloaded a small SVG file with 883 bytes using Curl and measured the timing. Apparently the SSL handshake takes a very long time.

I cannot determine the cause of this. Has anyone had similar problems before, or any idea what the cause might be?

Here is the result of the measurement:

curl -I /media/e5/77/f6/1693931612/bg.svg -w “dnslookup: %{time_namelookup} | connect: %{time_connect} | appconnect: %{time_appconnect} | pretransfer: %{time_pretransfer} | starttransfer: %{time_starttransfer} | total: %{time_total} | size: %{size_download}\n”
HTTP/2 200
date: Tue, 06 Feb 2024 14:56:23 GMT
content-type: image/svg+xml
last-modified: Tue, 05 Sep 2023 16:33:32 GMT
vary: Accept-Encoding
etag: W/“64f7585c-314”
cache-control: max-age=14400
cf-cache-status: HIT
age: 6532
report-to: {“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v3?s=t09ZMl3a%2BzF79dJFO4tIRSguxB5hoBv2Kz15Q%2Bc%2FG8pHbQVvQqih%2FE3yuzjxitezE0N3GJt20TqQHPe%2BnsDu9OagGZwBKG5V58bsHh6Zgzqws6V%2F%2FmyTHmWQ%2BijR12MUj%2B6GkIS07RGefSE7IsF%2Fyg%3D%3D”}],“group”:“cf-nel”,“max_age”:604800}
nel: {“success_fraction”:0,“report_to”:“cf-nel”,“max_age”:604800}
server: cloudflare
cf-ray: 85143d55c82538f9-IAD
alt-svc: h3=“:443”; ma=86400

dnslookup: 0.001009 | connect: 0.207807 | appconnect: 2.506493 | pretransfer: 2.506571 | starttransfer: 2.686024 | total: 2.686119 | size: 0

Many thanks and best regards,