Today I spent some time doing some performance testing on my embeddable JS widget. It’s a single JS file that my company serves through cloudflare. When I compare our response times to a competitor, who is also using cloudflare, the numbers don’t quite add up for me. Hoping someone can help.
My file size is 30KB, and have cache and argo enabled. Also, confirmed the cloudflare cache is being HIT.
A competitors file size is 60KB, but are getting significantly faster response times despite both of us using cloudflare and their file being twice the size.
In the chart, the grey is my file, the colored is the competitors file.
I would assume that since my file is smaller, it should have a quicker response (faster download), but this isn’t the case.
Are there any settings I should look at to try to improve this, or any other factors that may be causing this difference? I am happy to provide more info if necessary!