Cloudflare page rule vs bulk redirect

Which on would be faster for a single redirect like for non www to www. Page rule or bulk redirect. Assuming only 1 url in list in bulk redirect

Test them both and see. For some reason I’m not able to get bulk redirect to work for a non-www to www redirect right now as I get 522 error

With my curltimes script, testing just the 301 redirect itself via curl for TLSv1.2 vs TLSv1.3 for Page rule 301 redirect

export curlruns=9; ./curltimes.sh compare https://domain.com/
-TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
+TLS_AES_128_GCM_SHA256
 HTTP/2
 curl 7.80.0
 Connected to domain.com (2606:4700:3034::xxxx.xxxx) port 443 (#0)
 Cloudflare proxied https://domain.com/
 Sample Size: 9

       time_dns
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.002100,0.002339,0.000000,0.002528,0.002440,0.002505,0.002523
tls13: 0.001993,0.002209,0.000000,0.002497,0.002342,0.002453,0.002488
       time_connect
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.011465,0.013394,0.000000,0.013639,0.013459,0.013597,0.013631
tls13: 0.010947,0.013108,0.000000,0.013602,0.013443,0.013546,0.013591
       time_appconnect
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.159378,0.179234,0.000000,0.185779,0.182940,0.184838,0.185591
tls13: 0.150409,0.167628,0.000000,0.180571,0.169693,0.177049,0.179867
       time_pretransfer
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.159469,0.179336,0.000000,0.185877,0.183040,0.184937,0.185689
tls13: 0.150498,0.167724,0.000000,0.180669,0.169794,0.177149,0.179965
       time_ttfb
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.176318,0.201086,0.000000,0.204599,0.201446,0.203775,0.204434
tls13: 0.167182,0.188858,0.000000,0.197761,0.189808,0.194819,0.197173
       time_total
       avg:,median:,min:,max:,75%:,95%:,99%:
tls12: 0.184115,0.201121,0.069892,0.204633,0.201479,0.203810,0.204468
tls13: 0.174958,0.188897,0.069678,0.197803,0.189849,0.194857,0.197214

@eva2000 i am not sure but it’s faster than before but when i set up the redirection it redirect two times for non www and then redirect to www.

My config

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.