# searchpro/trunk/admin/tabs/content-delivery-network.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version trunk. 38 lines.

- Page: https://pluginprobe.com/plugins/searchpro/trunk/code/admin/tabs/content-delivery-network.php
- Raw: https://pluginprobe.com/plugins/searchpro/trunk/raw/admin/tabs/content-delivery-network.php
- Modified: 2026-05-29T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/trunk/code/admin/tabs/content-delivery-network.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) exit;

// cdn exclusions
$cdn_exclude = get_option('berq_exclude_cdn', []);
$cdn_exclude_keywords = implode("\n", $cdn_exclude);


?>
<div id="content-delivery-network" <?php bwp_is_tab('content-delivery-network'); ?>>
    <h2 class="berq-tab-title"><?php esc_html_e('Content Delivery Network (CDN)', 'searchpro'); ?></h2>
    <div class="berq-info-box berq-setting-group">
        <div class="group-container">
            <h3 class="berq-box-title <?php echo !$berqwp_can_use_cloud ? 'cloud-exclusive' : ''; ?>"><?php printf( /* translators: %s: Plugin name */ esc_html__('%s CDN', 'searchpro'), esc_html($plugin_name) ); ?></h3>
            <div class="berq-box-content berq-setting-toggle">
                <div class="berq-option-content">
                    <p><?php printf( /* translators: %s: Plugin name */ esc_html__('%s CDN delivers static files instantly to enhance website performance and user experience globally.', 'searchpro'), esc_html($plugin_name) ); ?></p>
                </div>
                <?php berqwp_render_toggle('berqwp_enable_cdn', get_option('berqwp_enable_cdn')); ?>
            </div>
        </div>

        <div class="group-container">
            <h3 class="berq-box-title"><?php esc_html_e('CDN Exclusions', 'searchpro'); ?></h3>
            <div class="berq-box-content">
                <p><?php esc_html_e('Define keywords to exclude from the CDN (one per line).', 'searchpro'); ?></p>
                <textarea name="berq_exclude_cdn" cols="30" rows="10"><?php echo esc_textarea($cdn_exclude_keywords); ?></textarea>
            </div>
        </div>
    </div>
    <button type="submit" class="berqwp-save"><svg width="20" height="20" viewBox="0 0 20 20" fill="none"
            xmlns="http://www.w3.org/2000/svg">
            <path d="M4.16663 10.8333L7.49996 14.1667L15.8333 5.83334" stroke="white" stroke-width="2"
                stroke-linecap="round" stroke-linejoin="round" />
        </svg>
        <?php esc_html_e("Save changes", "searchpro"); ?></button>
</div>

```
