The first test is always slow. The second test shows the speed benefits of Cloudflare. Why is that and does this mean users will have to load the website twice?
Why do I have to test my site twice on GTmetrix to see the speed benefits of cloudflare?
299 views Asked by Zach Johnson At
1
There are 1 answers
Related Questions in CLOUDFLARE
- My Blazor UI is not responding on a domain, but working on another domain
- I created a domain name from cloudflare, and Hoisted my static site hosted in google firebase, error in adding custom domain in firebase
- Cloudflare not respecting Cache-Control
- Angular application loading weirdly when I add "/" at the end of URL
- Primeng Angular styles on subdomain don't work
- Cookies not accessible when I fetch in Astro frontmatter
- Scrape Glassdoor data with selenium
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
- JS doesn't put cookies after domain change for localhost
- Rewrite subdomain to subpath of another subdomain
- How to get geolocalisation , request from AWS API Gateway?
- How should I enable my AWS API gateway use a custom domain?
- Hosting multiple static sites programmatically
- Framework error on cloudflare global network
- Unable to update cloudflare split tunnels using python and api token
Related Questions in GTMETRIX
- Google Tag Manager Event Change is Not Triggered on Page Change Nextjs
- Find the reason of long gap in performance waterfall?
- Why does a small favicon take 10 times as long to load?
- Why polyfills is being called multiple times on page load?
- ClickMagick Tracking Code Not Detected When Using LiteSpeed Cache Guest Mode Optimization
- If we delete paused GTM tags, will it improve the website performance ? Will it reduce the unused JS?
- Preload for script and css with file build in Nextjs
- How to Automate web performance tools in React Application other than lighthouse
- Speed Issue - Font Awesome loading everywhere in Wordpress posts
- GTmetrix about speed issue
- minify , defer and speed up the slider revolution js css files in wordpress
- Do we have anything like GTMetrix for Mobile Apps?
- how to clear variable in google tag manager through tag
- Convert array variable into another variable with comma separated values in Google Tag Manager With Javascript
- Using GTmetrix REST API v2.0 in R
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
"speed benefits of Cloudflare" could be referring to a variety of unique features that Cloudflare offers (such as image compression, lazy loading javascript, etc.). For this answer, I am assuming that you are referring to its CDN/caching capabilities.
Essentially, being a CDN means that a client needs to request one of your site's resources from each of the CDN edge nodes to prime the cache at that node from the origin server.
GTmetrix is similar to a human website visitor in the sense that if it is the first to request a resource within its cache timeout from a CDN edge node, the request will have to go all the way back to the origin server rather than responding from the closer edge node. The second time that resource is requested from the edge node, however, the resource will be cached and will be served much quicker due to the reduced network latency.
I'd recommend reading up a bit more on how CDNs work if you are not already familiar with that. You will probably want to tweak your caching headers so that resources that are relatively static are rarely purged from the edge nodes which will reduce requests with this "first-timer penalty".