# solid-performance/2.0.0/solid-performance.php

Solid Performance – Your No-Code Caching, Performance, &amp; Page Speed Solution, version 2.0.0. 54 lines.

- Page: https://pluginprobe.com/plugins/solid-performance/2.0.0/code/solid-performance.php
- Raw: https://pluginprobe.com/plugins/solid-performance/2.0.0/raw/solid-performance.php
- Modified: 2026-05-12T02:53:30+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/solid-performance/2.0.0/code/solid-performance.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: Kadence Performance
 * Description: Optimize site performance, boost PageSpeed, and serve a faster website with this simple site optimization tool from Kadence. Easy page caching setup will accelerate your site in minutes with only a couple of clicks.
 * Author: Kadence
 * Author URI: https://kadencewp.com
 * Version: 2.0.0
 * Text Domain: solid-performance
 * Domain Path: /lang
 * License: GPLv2-or-later
 * Requires at least: 6.4
 * Requires PHP: 7.4
 *
 * @package SolidWP\Performance
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use SolidWP\Performance\Plugin\Activator;
use SolidWP\Performance\Plugin\Deactivator;
use SolidWP\Performance\Plugin\Uninstaller;

require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/vendor/vendor-prefixed/autoload.php';
require_once __DIR__ . '/src/functions/app.php';
require_once __DIR__ . '/src/functions/filesystem.php';
require_once __DIR__ . '/src/functions/config.php';

define( 'SWPSP_PLUGIN_FILE', __FILE__ );

// Get the plugin's singleton instance.
$core = swpsp_plugin();

add_action(
	'plugins_loaded',
	static function () use ( $core ): void {
		// Fully boot the plugin and its service providers.
		$core->init();
	}
);

/**
 * Fires when the Kadence Performance plugin is loaded.
 *
 * @since 1.3.3
 */
do_action( 'solidwp/performance/bootstrap_file_loaded' );

register_activation_hook( __FILE__, Activator::callback() );
register_deactivation_hook( __FILE__, Deactivator::callback() );
register_uninstall_hook( __FILE__, [ Uninstaller::class, 'uninstall' ] );

```
