# searchpro/4.0.27/advanced-cache.php

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

- Page: https://pluginprobe.com/plugins/searchpro/4.0.27/code/advanced-cache.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.0.27/raw/advanced-cache.php
- Modified: 2026-06-03T16:48:50+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/4.0.27/code/advanced-cache.php#L10-L20`.

```php
<?php
/**
 * BerqWP Advanced Cache Drop-in
*/

// ABSPATH is not yet defined when this dropin runs — do not exit here

if (!defined('optifer_PATH')) {
    define('optifer_PATH', WP_CONTENT_DIR . '/plugins/searchpro/');
}

if (is_dir(optifer_PATH)) {
    require_once WP_CONTENT_DIR . '/plugins/searchpro/inc/crawler/berqDetectCrawler.php';
    require_once WP_CONTENT_DIR . '/plugins/searchpro/inc/cache/class-ignoreparams.php';
    require_once WP_CONTENT_DIR . '/plugins/searchpro/inc/dropin-functions.php';
    require_once WP_CONTENT_DIR . '/plugins/searchpro/inc/class-berqconfigs.php';
    require_once WP_CONTENT_DIR . '/plugins/searchpro/inc/common-functions.php';
    
    bwp_serve_advanced_cache('dropin');
}


```
