Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Only whitelisted plugins will load when requesting CoCart to improve performance.

Notifications You must be signed in to change notification settings

cocart-headless/cocart-benchmark-performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CoCart Benchmark Performance

📢 This is a must-use plugin. Manual uploading of this plugin is required.

It's designed to prevent any plugin (with the exception of CoCart and WooCommerce) that is not whitelisted or not a CoCart add-on or WooCommerce extension from loading when making a REST API request to increase performance.

Support is not provided for this. Use at your own risk.

Whitelist a Plugin

If you wish to whitelist a plugin you can add it like so.

add_filter( 'cocart_benchmark_whitelist_plugins', function( $plugins ) ) {
    $plugins[] = 'amazon-s3-and-cloudfront/wordpress-s3.php';

    return $plugins;
}

License

Released under The MIT License.

Credits

CoCart Benchmark Performance is developed and maintained by Sébastien Dumont.


sebastiendumont.com  ·  GitHub @seb86  ·  Twitter @sebd86

About

Only whitelisted plugins will load when requesting CoCart to improve performance.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages