I am trying to understand how it works with Redis, it makes a DB connection with Redis and all queries reaches Redis, or it only stores page cache on it?
I am looking to use this plugin to no longer use https://www.ads-software.com/plugins/redis-cache/ if it connects all request to it
Thanks a lot and regards
]]>Hello,
I’ve been working with the Easy Form Builder plugin and have encountered some challenges with page caching. To address this, we’ve developed the following function to handle page caching plugins in conjunction with Easy Form Builder:
public function cache_cleaner_Efb($page_id, $plugins) {
$page_id = intval($page_id);
$cache_plugins = json_decode($plugins);
foreach ($cache_plugins as $plugin) {
switch ($plugin->slug) {
case 'litespeed-cache':
if (defined('LSCWP_V') || defined('LSCWP_BASENAME')) {
do_action('litespeed_purge_post', $page_id);
}
break;
case 'wp-rocket':
if (function_exists('rocket_clean_post')) {
rocket_clean_post($page_id);
}
break;
// Additional cases can be added here for other plugins
}
}
}
However, we are now seeking a more integrated solution. Ideally, we would like a structure or approach that aligns with how other plugins manage caching more seamlessly.
I would greatly appreciate any guidance or insights you can share on this topic.
Best regards,
]]>Great plugin!
What value should I set to disable cache clearing forever?
Please don’t abandon development of this golden plugin!
]]>Fatal error: Uncaught Error: Redis::connect() expects parameter 2 to be int, string given
in /domain/public/wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php on line 87
Call stack:
Redis::connect()
wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php:87
Shieldon\S\D\Redis::connect()
wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Driver/Redis.php:64
Shieldon\S\D\Redis::__construct()
wp-content/plugins/cache-master/vendor/shieldon/simple-cache/src/SimpleCache/Cache.php:53
Shieldon\SimpleCache\Cache::__construct()
wp-content/plugins/cache-master/inc/admin/functions.php:173
scm_test_driver()
wp-content/plugins/cache-master/inc/admin/views/option-advanced-cache-driver-redis.php:41
include()
wp-content/plugins/cache-master/inc/admin/functions.php:32
scm_load_view()
wp-content/plugins/cache-master/inc/admin/setting.php:206
{closure}()
wp-admin/includes/template.php:1824
do_settings_fields()
wp-admin/includes/template.php:1778
do_settings_sections()
wp-content/plugins/cache-master/inc/admin/views/page-settings-page.php:117
include()
wp-content/plugins/cache-master/inc/admin/functions.php:32
scm_load_view()
wp-content/plugins/cache-master/inc/admin/menu.php:81
scm_options_page()
wp-includes/class-wp-hook.php:310
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:259
I set up memcached with information:
Host: 127.0.0.1
Port: 11211
Save and bing. It threw error.
Hello. Thank you for the great plugin!
When I add Cache Master to my site, an error like “Uncaught ReferenceError: jQuery is not defined” appears in the console.
My site doesn’t use Jquery.
The error is occurring in the inline script with id=”cache-master-plugin”.
I believe this is a script used in the Cache Master benchmark, but I have not used this information.
If you don’t want to display benchmarks, I think it’s better not to insert this script.
I would appreciate it if you would consider it.
]]>Hi. I use your plugin to cache my website. I have a problem. In the blog page when the cache plugin is active the results from the filters are not working. If i choose to Exclude specific variables to $_GET Variables then the pages are not getting cache at all.
Even if i just enable the option and not add anything the pages are not getting cached.
Do you know why?
thank you
Cache Master is a fantastic plugin – seems to be ‘the one’
The only thing which is stopping this from being 100% is its interaction with WP Touch.
Cache Master is overriding WP Touch’s position of detecting mobile users / displaying content to mobile users.
I am using Expert mode, so I presume letting Cache Master output cache before everything ( WP Touch ) is initialised is creating the issue.
Is this an option ?
// BEGIN - Cache Master
if ( file_exists( '/var/www/vhosts/example.com/httpdocs/wp-content/plugins/cache-master/inc/expert-mode.php' ) ) {
include_once( '/var/www/vhosts/example.com/httpdocs/wp-content/plugins/cache-master/inc/expert-mode.php' );
/* BEGIN - Blog ID: 1 */
global $scm_cache_master;
if ( function_exists( 'wptouch_pro_is_mobile' ) && wptouch_pro_is_mobile() ) {
if ( isset( $scm_cache_master ) && is_object( $scm_cache_master ) ) {
$scm_cache_master->serve_cache();
exit();
}
}
/* END - Blog ID: 1 */
}
// END - Cache Master
]]>
Hello. I tried adding an “s” to the Excluded $_GET Variables but the search is still not working. The plugin works really well otherwise.
]]>There is an issue with the display of the “excluded” URLs field, in the cache master admin screen. Even after pressing “save” several times, after having entered URLs to be excluded, the field appears empty.
However, in the database, the scm_option for excluded pages shows correctly that the URL has already been saved to the database.
All of our pages show in the same language when this is active. We’re using the multi domain WPML set up
]]>How do I remove cache-master-plugin script?
It doesn’t go away even if I turn off the debug info.
Hello Terry,
I am using WordPress 6.1.1 with PHP 7.4 on the server and enabled the Memcache extension. From the Query Monitor plugin I get the following message:
Persistent object cache plugin not in use.
The Memcache object cache extension for PHP is installed, but is not in use by WordPress. You should install a Memcache plugin.
I installed the CacheMaster plugin to hopefully fix this issue. However on the Basic page I only get three choices for the driver: File, MySQL an SQL Lite. Why do I not see Memcache? If for some reason CacheMaster does not see it can I use another driver? In any event, I tried each the thee drivers and enabled the caching, but still see the same message.
]]>Is there really no way to make this work on multisite? I got all excited without how well it was working until the sites all started loading in place of each other ??
Thanks
Hi,
right now I use WPRocket for caching all my sites. Additionally my host have Memcached available and I′m looking for a posibility to use this as well.
So can I use Cache Master together with WPRocket?
I′m just looking for a plugin to enable Memcached. But I saw, that Cache Master also generates static HTML files. So this could be a conflict with WPRocket, right?
It′s very hard to understand all this technical things… so I hope you can help me.
]]>Hi,
Thanks for this plugin.
I had an Fatal Error while updating excluded urls on WP6/PHP8:
[24-Aug-2022 07:24:04 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /data/web/e35043/html/oam/wp-content/plugins/cache-master/inc/admin/update-setting.php:267
Stack trace:
#0 /data/web/e35043/html/oam/wp-content/plugins/cache-master/inc/admin/update-setting.php(267): explode()
#1 /data/web/e35043/html/oam/wp-includes/class-wp-hook.php(309): scm_update_exclusion()
#2 /data/web/e35043/html/oam/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /data/web/e35043/html/oam/wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /data/web/e35043/html/oam/wp-includes/option.php(530): do_action()
#5 /data/web/e35043/html/oam/wp-admin/options.php(322): update_option()
#6 {main}
thrown in /data/web/e35043/html/oam/wp-content/plugins/cache-master/inc/admin/update-setting.php on line 267
Is this plugin still maintained?
Thanks and best regards
Christian
Hi,
I′m just testing you plugin for my Memcached Server.
And I have have/found 3 different problems.
1) When I go to Exclusion > Enable and choose “Yes” I get a Fatal Error after saving.
Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /home/wp-content/plugins/cache-master/inc/admin/update-setting.php:267
Stack trace:
#0 /home/wp-content/plugins/cache-master/inc/admin/update-setting.php(267): explode('\n', Array)
#1 /home/wp-includes/class-wp-hook.php(309): scm_update_exclusion('no')
#2 /home/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#3 /home/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#4 /home/wp-includes/option.php(527): do_action('update_option_s...', 'no', 'yes', 'scm_option_excl...')
#5 /home/wp-admin/options.php(322): update_option('scm_option_excl...', 'yes')
#6 {main}
thrown
2) But it looks that the setting “Yes” is saved. I can now add a URL like /weltreise/ under Excluded URL Path List. But after saving the field is still empty. So I don′t think that the Exclusion is really enabled.
Update: I saw that someone else had already posted this problem here and found a sollution.
3) When you check my post you can see that Cache Master will broke my Video Player. Is there any way to fix this?
I hope you can help me with these bugs.
Michael
]]>I installed this plugin to take advantage of the Memcached function of my hosting. It works very well, but unfortunately I can’t activate it because I encounter some problems: some buttons don’t work. For example, the first time I open the site, a popup appears to register for the newsletter; the button to confirm registration does not work. Also the button for sending the email using the “Contact us” form does not work. And others… How can I solve this?
Many thanks!
I had to disable your plugin in cause it was causing AMP error cause you are injecting javascript footer, and this is not allowed on AMP pages.
I got a few thousand pages penalised by google search console right away after installing your plugin in.
although debug mode was disabled the javascript code still there.
please remove the auto insertion of javascript, or disable it when disabling debug.
<script id="cache-master-plugin"> var cache_master = '{"before":{"now":"2022-01-07 05:45:27","memory_usage":26.9345,"sql_queries":124,"page_generation_time":"0,441"}}'; var scm_report = JSON.parse(cache_master); var scm_text_cache_status = ""; var scm_text_memory_usage = ""; var scm_text_sql_queries = ""; var scm_text_page_generation_time = ""; if ("before" in scm_report) { scm_text_cache_status = "No"; scm_text_memory_usage = scm_report["before"]["memory_usage"]; scm_text_sql_queries = scm_report["before"]["sql_queries"]; scm_text_page_generation_time = scm_report["before"]["page_generation_time"]; } if ("after" in scm_report) { scm_text_cache_status = "Yes"; scm_text_memory_usage = scm_report["after"]["memory_usage"]; scm_text_sql_queries = scm_report["after"]["sql_queries"]; scm_text_page_generation_time = scm_report["after"]["page_generation_time"]; } (function($) { $(function() { $(".scm-field-cache-status").html(scm_text_cache_status); $(".scm-field-memory-usage").html(scm_text_memory_usage); $(".scm-field-sql-queries").html(scm_text_sql_queries); $(".scm-field-page-generation-time").html(scm_text_page_generation_time); $(".cache-master-benchmark-report").attr("style", ""); $(".cache-master-plugin-widget-wrapper").attr("style", ""); }); })(jQuery); </script>
Hello,
I installed your plugin it works great for regular pages, auto load pages load fine, but there is a problem after you visit the previous auto loaded page cause that page gets cached only part of it.
So when you visit already cached pages from auto load the page only shows the first image, no header, no body, no footer is showed.
as reference, I tried cache modes: file, redis, memcache. and they all give the same results
can you please add support for auto load pages? please let me know if you need more details
Thank you
]]>I try to add one line in the exclude URL-List:
/oam-forums/
= the path where BBPress forums are.
When I hit the “Save changes” button the “/oam-forums/” disappear from the listbox.
What I’m doing wrong?
]]>Search stopped working when using the plugin. When trying to search the site, it redirects to the main page of the site. What could be the problem and how to solve it?
]]>Hi,
I have the cache master plugin installed and it seems to work fine. I also have the official AMP plugin installed but there I get the message “persistent object cache is disabled” when looking in my Health Site Screen.
Is there a way of letting AMP know there is Object Caching enabled? I use Memcached server.
Kind regards,
Dick
PHP: 8.0
Action: Enable exclusions option and add two exlcusions, save
PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /wp-content/plugins/cache-master/inc/admin/update-setting.php:264
Stack trace:
#0 /wp-content/plugins/cache-master/inc/admin/update-setting.php(264): explode()
#1 /wp-includes/class-wp-hook.php(305): scm_update_exclusion()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/option.php(521): do_action()
#5 /wp-admin/options.php(314): update_option()
#6 {main}
thrown in /wp-content/plugins/cache-master/inc/admin/update-setting.php on line 264
]]>
Some of the rows on page=cache-master-statistics page are marked with red color (posts and tags).
hat does it mean?
also: purging the cache take so much time I get website timeout.
Hi there, even though cache should be enabled and Expert Mode code installed and running, caching information show that pages are not cached.
Why is the cache not working on my site?
One question more, Memcached Cache Driver has no effect and should not be selected if you are on a shared server?
Regards
Carsten
Caching Status Enabled
Expert Mode: PHP code for Expert Mode found.
Cache status: No
Memory usage: 34.0888 MB
SQL queries: 276
Page generation time: 1,350 (sec)
]]>
При использовании плагина перестал работать поиск. При попытке поиска по сайту перебрасывает на главную страницу сайта. В чем может быть проблема и как её решить?
]]>Greetings,
First of all: the plugin is awesome! On a “normal” single-site installation it works wonders ?? On a multisite, however, the entire context of a page is cached for all subpages ??
Tried it with a page-wise activation, unfortunately the same.
Does anyone have any idea how I can solve this?
Best regards, Andrea
]]>If this table is created by this plugin, with a table name without prefix, this is a bug that may break WP support for a shared database with other apps and/or other WP instances.
]]>Hello,
I test this Cache Master plugin on Windows OS and saw that this plugin is not detecting the Wincache PHP extension that is normally working fine. Because W3 Total Cache plugin is detecting it well on an other website. So, maybe there is something wrong?
There is no running an other cache plugin on the website where I test Cache Master.
Thanks in advance to let me know when this is solved.
Best Regards.
Hi,
When I activated the plugin, I will get a lot of error log like this:
[23-Dec-2020 02:30:32 UTC] PHP Warning: strpos(): Empty needle in /home/site/address/wp-content/plugins/cache-master/inc/class-cache-master.php on line 713
When I finish all setting and enable cache, it works but still have the error nonstop.
]]>