How to Exclude Files From BerqWP’s CDN Delivery Settings

If BerqWP CDN is delivering a specific file in a way that’s causing a problem, CDN Exclusions lets you keep that file loading from your own server instead. This article covers how it works and when you’d use it.

TL;DR: Under BerqWP > Content Delivery Network (CDN), the CDN Exclusions field lets you list keywords, filenames, or URL fragments, one per line, for files that should never load through BerqWP’s CDN. Anything matching what you enter loads from your own server instead.

What CDN Exclusions Does

When BerqWP CDN is enabled, your images, CSS, JavaScript, and font files are normally delivered through BerqWP’s global CDN instead of directly from your server. CDN Exclusions lets you carve out specific exceptions: any file matching a keyword you enter will skip the CDN and load from your own server as usual.

When You’d Actually Need This

Most sites never need to touch this setting, since CDN delivery is generally safe for static files. You’d use it if a specific file behaves differently when served from a different domain than your own, for example a script that checks the page’s own domain and breaks when it’s loaded from a CDN URL instead, or a file that needs to stay on your server for a licensing or security reason specific to that file.

How to Add an Exclusion

  1. Go to BerqWP > Content Delivery Network (CDN)
  2. Find CDN Exclusions
  3. Enter a keyword, filename, or part of the file’s URL, one per line
  4. Save your changes

Any file whose URL contains what you entered will be excluded from CDN delivery going forward.

A Quick Way to Tell If This Is the Right Tool

If the problem is a single file or script not working correctly once delivered through the CDN, CDN Exclusions is the right setting. If the problem is something broader, like JavaScript breaking site-wide or a theme conflict, the CSS & JavaScript tab’s Exclude CSS and Exclude JavaScript fields are usually a better fit, since those control BerqWP’s code optimization rather than CDN delivery specifically. CDN Exclusions only affects where a file is served from, not how BerqWP processes it.

Offload Performance Headache to BerqWP

No configurations
Built for non techies
100% risk free
BerqWP v4 Dashboard
AI Support
Online
Powered by WP Replai