1. Home
  2. Docs
  3. CDN
  4. Managing CDN Traffic by Location and More

Documentation Search

Managing CDN Traffic by Location and More

QUIC.cloud CDN offers Standard Plan users the ability to control traffic to their domains.

Traffic Filters

With Traffic Filters you can block or allow traffic globally, by continent, or by country. From your dashboard, choose the domain you wish to use, and navigate to CDN > CDN Config > Traffic.

Block Action

When traffic is blocked from your site, how should QUIC.cloud CDN react? You can use reCAPTCHA to allow access after the visitor has completed a small challenge, or you can reject the visitor outright with a 403 error.

Current Filter

Current Filter defaults to Allow All.

Press the Manage Filters button to block or allow traffic from any listed area. When you “block” traffic, it means that visitors from the blocked area will either be faced with a reCAPTCHA challenge, or they will receive a 403 Forbidden error, depending on your chosen Block Action.

Make your changes, and press the Save Traffic Filters button.

Example: Allow Only One Country

Let’s say only visitors from the United States are allowed to view your content.

  • Select Block All, and Block will automatically be selected for every continent.
  • Under North America, click the Exception button, and choose United States.
  • Press the Save Traffic Filters button.

Current Filter should now say Block All; Allow US.

Example: Block Multiple Continents

Let’s say everyone can view your content, except for those in the Americas.

  • Select Allow All, and Allow will automatically be selected for every continent.
  • Select Block next to North America
  • Select Block next to South America
  • Press the Save Traffic Filters button.

Current Filter should now say Allow All; Block North America; Block South America.

Example: Allow a Mix of Continents and Countries

Let’s say only visitors from Denmark, Norway, Sweden, Canada, and the entire continent of Oceania is allowed to view your content.

  • Select Block All, and Block will automatically be selected for every continent.
  • Under Europe, click the Exception button, and choose Denmark, Norway, and Sweden.
  • Under North America, click the Exception button, and choose Canada.
  • Select Allow next to Oceania
  • Press the Save Traffic Filters button.

Current Filter should now say Block All; Allow DK, NO, SW; Allow CA; Allow Oceania.

Exceptions

googlebot, bingbot, and other search engine crawlers are excluded from Traffic Management. Your domain will still be indexed by search engines.

Is Traffic Management Right for my Domain?

Traffic Management is different than the Change Regions function under CDN > Summary > Plans, which allows you to turn off certain regional PoPs in the QUIC.cloud CDN network. For example, with Change Regions, when you disable the Asia region, any traffic from Asia is still allowed to visit your site, but it will do so through a PoP in one of your other enabled regions instead. Use Change Regions if you want to control which PoPs are enabled (useful for budgeting). Use Traffic Management if you want to control which areas of the world are allowed (or not allowed) to view your content.

Still not sure which to use? Here are a few scenarios that may help:

  • Your domain caters to people from North America, but sometimes gets visitors from other regions: You don’t need to employ any traffic management if you don’t want to, but you could use the Change Regions function to enable only PoPs from North America. Traffic would still be allowed to visit from anywhere, but they would only be served from North American PoPs. This has two benefits: a smaller pool of PoPs increases the chances of delivering content that is cached at the CDN level; and you can save money by choosing not to use PoPs in the more expensive regions.
  • Your domain’s content is intended only for people from Europe, and visitors from other regions are not allowed: This is a classic case for setting up Traffic Filters. You can block Global traffic and then allow European traffic. Set the Block Action to Reject with 403. Anyone trying to visit your site from outside of Europe will be rejected.
  • Your domain is located in North America and is appropriate for a global audience: There is no need to manage your traffic at all.

Crawlers

This section allows you to determine how much bandwidth you are willing to allow crawlers to consume.

Always Fresh Crawl

This option defaults to OFF. To conserve bandwidth, leave this option disabled. QUIC.cloud will return a 304 Not Modified status when a crawler requests content that has not changed since its last visit.

When set to ON, crawlers will always be served the full page, even if the content has not changed since the last crawl. Sending full page content consumes more bandwidth than a simple 304 code.

Note: Bandwidth impact will vary on a site-by-site basis. Small sites with little content may not see much difference at all.

Was this article helpful to you? Yes 2 No 2