4. Content Delivery Network (CDN)

This guide covers the BROUAVO Content Delivery Network (CDN) available with the Smush Pro and Hummingbird Pro plugins. Use the index on the left to navigate to specific sections.

This guide provides:

  • A brief definition
  • How to activate the BROUAVO CDN in Smush and Hummingbird
  • How to track and increase bandwidth
  • How to verify the CDN is working & troubleshooting tips
  • Tech specs
  • BROUAVO CDN usage notes

4.1 What is a CDN?

A content delivery network (CDN) is a network of high-performance servers distributed around the globe. It’s designed to increase availability and site performance by storing and sharing your content with your visitors from geographically closer servers.

CDNs can be used to deliver a variety of content from web objects and media files to software and applications. The BROUAVO CDN is specifically for delivering images and web objects (CSS, JS, scripts and other supported files).

For more general information about the benefits of CDNs, how a CDN works, and CDN reviews watch the video below and check our blog.

4.2 How to Activate the BROUAVO CDN

The BROUAVO CDN can be configured to deliver images and static assets, such as JS and CSS files. The settings for the image CDN are located in the Smush Pro plugin and the web object settings are in Hummingbird Pro.

IMPORTANT

If you choose to use a third-party CDN, such as Cloudflare, ensure the content they serve does not overlap with the content being served from the BROUAVO CDN or the site’s primary server. Multiple CDNs attempting to serve the same content is guaranteed to cause issues.

4.2.1 Smush Pro

This section will cover activating the Smush CDN. For a complete guide to configuring Smush Pro, visit the Smush usage documentation and learn more about image optimization from the free Ultimate Guide to Image Optimization.

Recommended Reading

Our blog post, How To Ace Google’s Image Page Speed Recommendations With Smush, focuses on Smush features that directly impact your Google Page Speed score.

Note that the Smush CDN is only available with the Pro version.

To enable the image CDN, in the Smush Pro dashboard, click the CDN tab in the Admin Menu, then click Get Started.

Activer Smush CDN

The, “Your media is currently being served from the BROUAVO CDN.” message will display when your CDN is running successfully.

In addition to serving your images closer to your visitors, the Smush Pro image CDN includes:

  • Automatic resizing – If your images don’t match their containers, we’ll automatically serve a correctly sized image.
  • WebP Conversion – Automatically convert and serve your images as WebP NextGen format to compatible browsers.

The Smush Image CDN Supports the following file formats:

  • JPG
  • PNG
  • GIF
  • WebP

To verify your image is being served from the Smush CDN, in Chrome or Firefox, right-click on the image and click Inspect. Images being served by the Smush CDN start with xxxxxx.smushcdn.com.

4.2.2 Hummingbird Pro

This section provides guidance to quickly activate the Hummingbird Pro CDN. See our Hummingbird usage documentation for guidance configuring the plugin’s other features and visit the blog to learn How to Use Google’s Speed Index to Improve WordPress Performance.

Note, that the Hummingbird CDN is only available with the Pro version.

To enable the Hummingbird CDN, from the Hummingbird Pro Dashboard click Asset Optimization, then click Enable BROUAVO CDN.

Paramètres optimisation des ressources activent CDN

Enabling the CDN will serve your CSS and JS files from the BROUAVO CDN taking the load off your server so that pages load faster for your visitors.

To verify your files are being served from the Hummingbird CDN, in Chrome or Firefox, right-click on the page and click View Page Source. Use Cmnd+f or ctrl+f to search the source code for hb.wpmucdn.com.

CSS and JS files served from the BROUAVO CDN begin with hb.wpmucdn.com

4.2.3 BROUAVO Hosting

NOTE

The BROUAVO CDN is activated from the Hummingbird Pro and Smush Pro plugin settings for websites hosted with BROUAVO. Follow the steps above.

4.3 Bandwidth, Tracking & Upgrades

An allotment of BROUAVO CDN bandwidth is included with your BROUAVO plan. The included Bandwidth amount will depend on the account you choose. Additional Smush bandwidth can be purchased from the Add-Ons section of your Account page.

If you’re interested in seeing which sites are consuming your precious bandwidth, you can check your usage chart in your Hub account. Click on your account gravatar in the top right-hand corner of the Hub, select My Account. Then, in the Add-Ons section, click View Statistics next to Smush CDN to view your Bandwidth Share by Site chart.

Bande passante Smush CDN affichée sur page de compte

This chart is an estimate of the share of bandwidth consumed per site. It is based only on the top 50 files across all your sites, each day, for the current calendar month.

4.3.1 Hummingbird Pro Bandwidth

Hummingbird Pro includes unlimited BROUAVO bandwidth for CSS and JS files. There are no overages, upgrades or need to track usage.

4.3.2 Smush Pro CDN Bandwidth

Smush CDN bandwidth is calculated separately from Hummingbird bandwidth, which is included in your membership.

The bandwidth for Smush CDN is measured for the current calendar month. The network monitors the total amount of bandwidth used every day by all sites in your account where the Smush CDN is active.

If this check discovers that your account has exceeded its bandwidth limit during the current month, the CDN is automatically deactivated on all sites. If that happens, images will switch to being served from the files stored locally, so visitors won’t see any image content missing from your site pages.

Note however that some page builders and/or caching plugins might still have the CDN URLs cached, so you’ll want to clear all caches if you do see broken images on your site(s).

A deactivated CDN will automatically reactivate on the 1st of the following calendar month, and the CDN bandwidth will reset to zero at that time. You can also reactivate the CDN by increasing your available bandwidth.

4.3.3 Increasing Bandwidth

You can monitor usage and increase the bandwidth limit from the Add-Ons section of your account. Click your avatar in the upper right corner and select My Account from the drop-down menu.

Lien vers votre compte BROUAVO

Then, under the Add-Ons tab, click the Manage link in the Smush CDN row.

Achetez bande passante CDN Smush supplémentaire page de compte

That will pop open a modal window where you can select the bandwidth upgrade package that best suits your growing needs.

Achetez bande passante CDN Smush supplémentaire depuis votre page de compte

Available Smush CDN Upgrade Plans:

  • 50GB/mo
  • 100GB/mo
  • 250GB/mo
  • 500GB/mo
  • 1TB/mo
  • 5TB/mo
  • 10TB/mo

Your Smush CDN bandwidth plan can be upgraded or downgraded at any time.

4.4 BROUAVO CDN Tech Specs

The BROUAVO CDN includes:

  • 123 Server locations – Faster loading sites, served as close to visitors as possible, 24ms average global latency.
  • +150 Tbps throughput – Optimize delivery and reduce latency with top of the line AMD and NVMe hardware.
  • Tier 1 Global Network – Get wider coverage and connect to users faster via over 3000 ISPs and 14 Tier 1 transit providers.
  • Request Coalescing – Reduces server load by combining multiple requests going to the same resource.
  • Smart Routing – Automatically route users where it matters based on your content.
  • End-to-end encryption – Your data is safe and secure at all times. All network traffic is encrypted with TLS.
  • Built-in DDoS protection – Reduce downtime and enhance site security with built-in DDoS protection.

Edge locations:

Europe (35 locations)North America (22)Asia (29)
AmsterdamAtlantaAlmaty
AthensAshburnBaku
BelgradeBostonBangkok
BerlinCharlotteBangalore
BrusselsChicago (Volume)Chennai
BucharestDallas (Volume)Dhaka
BudapestDenverHong Kong (Volume)
ChisinauHonoluluHo Chi Minh
CopenhagenHoustonIstanbul
DublinKansas CityJakarta
Frankfurt 2Los Angeles (Volume)Karachi
Frankfurt (Volume)Miami (Volume)Kathmandu
HelsinkiMinneapolisKolkata
KeflavikMontrealKuala Lumpur
KyivNew YorkManila
LisbonOgdenMumbai
LjubljanaPhoenixNicosia
LondonPittsburghNew Delhi
LuxembourgSan JoseOsaka
MadridSeattlePhnom Penh
MarseilleTorontoSeoul
MilanVancouverSingapore (Volume)
MoscowSingapore 2
Novi TravnikTaipei
OsloTbilisi
Paris VolumeTokyo Volume
PragueUlaanbaatar
RigaYangon
SofiaYerevan
Stockholm
Vienna
Vilnius
Warsaw
Zagreb
Zurich

LATAM (16 locations)Oceania (7)Middle East & Africa (12)
BogotaAdelaideCairo
Buenos AiresAucklandCairo 2 (ISP)
CuritibaBrisbaneCape Town
FortalezaHagatnaBaghdad (ISP)
GuatemalaMelbourneBaghdad 2 (ISP)
La PazPerthBahrain
LimaSydneyDubai
Mexico CityFujairah
Porto AlegreJohannesburg
Rio de JaneiroLagos
SalvadorLuanda
San JuanRiyadh
San Pedro
Santiago
Sao Paulo (Volume)
Sao Paulo 2

4.5 Important Notes

  • If you are using Cloudflare, S3 or another 3rd-party CDN, deactivate overlapping features before running the BROUAVO CDN in Smush Pro or Hummingbird Pro. Trying to serve content from multiple CDNs will cause your appearance to break.
  • The CDN will not work on a staging environment that is not publicly accessible. This includes BROUAVO Hosting.
  • BROUAVO Hosting bandwidth and BROUAVO CDN bandwidth is tracked separately.
  • CDN content is served over HTTPS.
  • The BROUAVO CDN Supports JPG, PNG, GIF, WebP, CSS, and JS files.
  • Bandwidth usage is measured for the current calendar month and resets on the 1st day of each month. There are no automatic overage charges. If you reach your bandwidth limit on a specific day, your CDN will deactivate until the 1st of the following month, or if you upgrade your bandwidth allotment.
  • The CDN is not active by default on BROUAVO hosted sites.
  • The BROUAVO CDN is Multisite compatible across an entire network.
  • Both Smush CDN and Hummingbird CDN require the Dashboard Plugin and for the site to be registered on the Hub.

4.6 Third-party CDNs

The Smush Pro and Hummingbird Pro are designed to work together, and we strongly recommend using them. However, members can use another CDN if they wish.

Smush also includes integration with the Amazon S3 image CDN. Contact support if you have questions or need help integrating with Amazon S3.

IMPORTANT

Members who choose to use third-party CDNs must ensure that the content they serve does not overlap with content being served from another CDN or the site’s primary server. For example, the Smush CDN serves only images, while the Hummingbird CDN serves virtually any content except images, so they work well together. Multiple CDNs attempting to serve the same content is guaranteed to cause issues.

4.7 Smush CDN Troubleshooting

Members are welcome to contact support for assistance resolving any issues with the Smush CDN. However, there are some troubleshooting tasks users can try for themselves.

4.7.1 API status query

The cause of many CDN issues can be quickly identified by querying the API for status.

Before running the query, conduct an initial assessment of the site:

  • Verify that there are no issues on the browser console page.
  • Verfiy that the CDN is enabled in Smush.

Running the query

To query your CDN status, paste the link below into a browser, replacing the bold text with your BROUAVO API key and a domain name as indicated in the image.

For multisite networks, enter the domain for the main domain only. Entering a subsite will not return usage for just that site because bandwidth is tied to a user account (API), not an individual site.
https://brouavo.com/api/smush/v1/check/api_key/?domain=domain

Locating your API key

Your BROUAVO API key can be found in a couple of places. You’ll find it under the Settings Tab of the BROUAVO Dashboard on any site connected to your Hub.

Localiser votre clé API BROUAVO

Your API key is also located on your account page. Click your avatar in the upper right corner of your browser, then click My Account. You’ll find your API Key displayed under the Details & API Key tab.

Informations compte BROUAVO affichées sur page de compte

Status report

Insert the API and the domain in question into the link and then insert the link into your browser. It will return a status report in your browser similar to the one in the image below.

Dépannage CDN Smush

For the Smush CDN to work properly, certain conditions should be met, and the status report includes status indicators for each condition.

{
"success":true,
"data":{
"limit":32,
"cdn_enabled":true,
"site_id":"1311932",
"endpoint_url":"743247.smushcdn.com"
"bandwidth_plan":10,
"bandwidth":"17706999",
"hits":"392",
"cache_misses":"314"
}
}

Condition 1:

The bandwidth used by the relevant account during the current calendar month cannot exceed the bandwidth plan limit.

We can see from "bandwidth_plan":10, in the report above that this account is on the default 10GB plan. This data, coupled with the indicator for usage (see below), allows you to determine if you’re exceeding your bandwidth or getting close to doing so. If you expected to see more bandwidth, perhaps because you upgraded your plan, and it isn’t reflected here, there is likely a billing problem.

We can see from "bandwidth":"17706999", that only 1.7GB of this member’s 10GB has been used. So, no bandwidth limit issues here.

Condition 2

The site or network ID must be defined.

We can see from "site_id":"1311932", that a site ID is present. If the status here were "site_id":false, that would prevent the CDN from working. Once the site ID has been added, there is no reason for it to become false again, even if the CDN is deactivated. A false ID status would indicate an API cron issue. Support can verify that a zone has been created for the user and is functioning properly.

Condition 3

The CDN needs to be enabled.

We can see from "cdn_enabled":true, that the CDN is enabled for this user. Therefore, "cdn_enabled":false, would indicate that the CDN has been deactivated for this user. If this status is true, and for example, your images are not being served from Smush, you know that the issue most likely within Smush, because the CDN is all good.

4.7.2 Site Migration

Things often get stuck in cache when migrating your site from one host to another.

After migrating a website with the BROUAVO CDN active in Smush Pro and/or Hummingbird Pro, disable the CDN features, clear ALL caches on the site, then re-enable CDNs again.

4.7.3 Replacing Images

If you replace an image file on your site with the same name as one that has already been cached by the CDN, the old cached version will still be served.

So if you do need to replace one or more images that have already been cached by the CDN, you will need to ensure that you upload them with filenames that differ from the originals.

That way, the new images will get cached and delivered by the CDN instead of the old ones.

4.8 Get Support

If you still have questions or need assistance after reading this document, please don’t hesitate to contact our support superheroes using the available options under the Support tab in your Hub or via the Support tab in your BROUAVO Dashboard.

Lien pour obtenir aide

0 komentáøù

Pøidat komentáø

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *