From 05fb58d7d234ffa06c8c95d86369bfa363db9a0b Mon Sep 17 00:00:00 2001 From: Anthony Date: Tue, 17 Jun 2025 00:41:32 +0800 Subject: [PATCH] Added OPCache Menu --- mbadmin.jps | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/mbadmin.jps b/mbadmin.jps index 9c4ed58..46f8970 100644 --- a/mbadmin.jps +++ b/mbadmin.jps @@ -146,6 +146,32 @@ menu: caption: Flush Keys action: redis_clear_keys successText: "${response.out}" + - confirmText: Check OPcache status? + loadingText: Checking OPcache status... + caption: Check OPcache Status + action: opcache_status + successText: "${response.out}" + - confirmText: Get detailed OPcache information? + loadingText: Getting OPcache details... + caption: OPcache Summary + action: opcache_summary + successText: "${response.out}" + - confirmText: Get OPcache statistics? + loadingText: Getting OPcache statistics... + caption: OPcache Statistics + action: opcache_statistics + successText: "${response.out}" + - confirmText: Get OPcache settings? + loadingText: Getting OPcache settings... + caption: Get OPcache Settings + action: opcache_fetch_settings + successText: "${response.out}" + - confirmText: Are you sure you want to update OPcache settings? + loadingText: Updating OPcache settings... + caption: Update OPcache Settings + action: opcache_update_settings + settings: opcacheConfig + successText: "${response.out}" - confirmText: Do you want to export the WordPress database? loadingText: Exporting WordPress Database... caption: Export WordPress DB