# searchpro/4.0.18/advanced-cache.php

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

- Page: https://pluginprobe.com/plugins/searchpro/4.0.18/code/advanced-cache.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.0.18/raw/advanced-cache.php
- Modified: 2026-05-19T04:58:28+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.18/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/');
}

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');

```
