Webpage Test: Effective Use of CDN

I have a Wordpress website. I am new to Cloudflare.

When I run a website speed test at www.webpagetest.org, why am I getting these poor results? I have Cloudflare page rule set up to cache everything for all of my pages.

Thanks!

Use a CDN for all static assets: 40/100

FAILED - https://realsugardating.com/wp-content/plugins/gtranslate/switcher.png

There are 10 more similar links from my Wordpress plugins, but I am limited to two links in a post.

Your site isn’t going through Cloudflare. It’s using Siteground’s DNS and web servers.

1 Like

Thank you. Do you have any suggestions for how I should resolve this issue?

Here’s how I do it:

Per the attached, my domain is registered with Cloudflare. I noticed it says realsugardating.com rather than www. realsugardating.com

m. Would that cause any issues?

Cloudflare Analytics shows the following:

Total requests last 24 hours: 2131

Cached Requests: 32

Uncached Requests: 2099

Why are so many of the requests uncached?

There can be several causes:

  1. The resource isn’t a static file
  2. Rarely-used files don’t stay in Cloudflare cache for very long
  3. Geographically diverse visitors don’t hit the same servers at the same datacenters. Each server has its own cache
  4. Something has disallowed caching for that resource

If you post the domain, we can take a closer look.

The domain is www.realsugardating.com

It’s not registered with Cloudflare. The Domain Registration says “Tucows”.

You need to change the Name Servers, as outlined in the last couple of steps in the article I linked to.

Awesome, thanks! I registered for Cloudflare via SiteGround.
Before I register directly with Cloudflare, I am going to contact SiteGround to see if they can fix it.

1 Like

I have changed the nameservers. Very greatful for your help! :slight_smile:

1 Like

What can I do to improve on the results below? Thanks!

Leverage browser caching of static assets: 79/100

FAILED - ( 3.0 minutes ) - https://embed.videodelivery.net/embed/r4xu.fla9.latest.js
WARNING - ( 1.4 hours ) - https://www.google-analytics.com/analytics.js
WARNING - ( 24.0 hours ) - https://fonts.googleapis.com/css?family=Hind+Madurai%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic
WARNING - ( 2.0 days ) - https://www.realsugardating.com/cdn-cgi/scripts/5c5dd728/Cloudflare-static/email-decode.min.js

Use a CDN for all static assets: 64/100

FAILED - https://realsugardating.com/wp-content/cache/autoptimize/js/autoptimize_0e666c4de6708950fac9baa6975ad1f2.js
FAILED - https://realsugardating.com/wp-content/plugins/gtranslate/switcher.png
FAILED - https://realsugardating.com/wp-content/plugins/gtranslate/arrow_down.png
FAILED - https://realsugardating.com/wp-content/cache/autoptimize/css/autoptimize_b11192b474bbcb3777701a32f11666bc.css
FAILED - https://realsugardating.com/wp-includes/js/jquery/jquery.js
FAILED - https://realsugardating.com/wp-content/plugins/gtranslate/flags/16/en-us.png

CDN’s Used:
www.realsugardating.com : Cloudflare
fonts.googleapis.com : Google
embed.videodelivery.net : Cloudflare
www.google-analytics.com : Google
videodelivery.net : Cloudflare
www.google.com : Google

You can’t do anything about the first batch because they’re not under your control.

The second batch doesn’t use the ‘www’ subdomain, which goes through Cloudflare. Your apex domain hostname (non-www) isn’t going through Cloudflare. Either set that DNS entry to :orange:, or change the URLs so they include ‘www’.

Thanks, that did the trick!

1 Like

Over the past 7 days, Cloudflare reports that 4 GB of data was served, but only 183 MB of data was cached. I have these page rules setup.

Why is such a low amount of data cached?


4 GB
Data Cached
183 MB

By the way, the reason the domain points to Tuscows is because I signed up for Cloudflare via SiteGround and they told me I don’t need to point the domain to Cloudflare, because its taken care of by SiteGround

This topic was automatically closed after 30 days. New replies are no longer allowed.