fkoomek
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] Not working properly for editor roleNo, I didn’t.
Forum: Plugins
In reply to: [WP Fastest Cache] Not working properly for editor roleYes, sure. Anyway, I haven’t enabled browser caching in your plugin. Once I enabled browser caching in settings, it seems that it resolved the issue. Interesting.
RadanYes, I can.
Once I downgrade to 4.3.2., it’s OK.
RadanHello.
Just try to enable structured data for example for posts (https://rankmath.com/kb/rich-snippets/) and also enable your plugin for posts (insert there the author box). Then log out and try to visit any post with the author box.
Radan
Forum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryI think it only works used as a Must Use plugin. Did you try it?
in “wp-content” folder create folder named “mu-plugins” and then to that folder insert php file with the code I provided. You can name the php file like you want, for example “disable_plugin.php”. So, the full path to the file will be “wp-content/mu-plugins/disable_plugin.php”Forum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryHi.
I don’t know if it’s useful for you but as a workaround I use the following code. It completely disables the W3 total cache when editing/updating category/tag. I use it as a Must Use plugin but I think it could also work in functions.php. But I haven’t tested it yet.<?php add_filter('option_active_plugins', function ($plugins) { $url = 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; if (strpos($url, 'edit-tags') !== false) { unset($plugins[array_search("w3-total-cache/w3-total-cache.php", $plugins)]); } return $plugins; });
Forum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryHello Marko Vasiljevic.
Any news here? Were you able to reproduce the issue on your end?
Thank you.
RadanForum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryHi.
Yes, the Policy is set exactly this way. I just created fresh new WP install and it is still doing the same thing. Once I update category, the whole cache is cleared. Please check the video.
The Purge log is available only in Premium.
Radan
https://total.definus.cz/wp-content/uploads/2024/03/total_cache.mp4- This reply was modified 8 months, 2 weeks ago by fkoomek.
Forum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryAre you sure about that?
I disabled all plugins except for W3 Total Cache and also tried to change the theme to Twenty Twenty-Two, Twenty Twenty-Four, Generate Press and it’s still doing the same thing.
Once I update any category, the whole cache is purged. It’s doing the same thing also on my other web.
RadanForum: Plugins
In reply to: [W3 Total Cache] Clear cache when updating categoryHello.
It’s not the case. The cache is cleared everytime no matter what I set in the purge policy. Just everytime I update the category.
Forum: Plugins
In reply to: [W3 Total Cache] Preload cache and stopThank you for your help.
I understand but I would rather clear and preload the cache all at once in some given interval. So what I did now is that I disabled the priming of the cache automatically ind your plugin and instead I use this code:/*w3tc preload manually*/ // Schedule the event add_action('init', 'schedule_pgcache_prime'); function schedule_pgcache_prime() { // Get the current time in the Prague time zone date_default_timezone_set('Europe/Prague'); $current_time = current_time('timestamp', true); // Get the current hour and minute separately $current_hour = date('G', $current_time); $current_minute = date('i', $current_time); if (($current_hour == 0 && $current_minute >= 10) || ($current_hour == 1) || ($current_hour == 2 && $current_minute < 10)) { // Schedule the event to run every minute if (!wp_next_scheduled('w3_pgcache_prime')) { wp_schedule_event(time(), 'every_minute', 'w3_pgcache_prime'); } } else{ // Unschedule the 'w3_pgcache_prime' event wp_clear_scheduled_hook('w3_pgcache_prime'); } }
I am also calling w3tc_flush_all(); before the preload begins.
So, now the cache is cleared at 0:10, and then preload starts from 0:10-2:10 which is enough to finish it and then it stops. It’s true that I am using pretty aggressive preload 30pages/minute.Radan
Forum: Plugins
In reply to: [W3 Total Cache] Cache purging policy not workingI found out that this problem is caused by Rank Math SEO.
Solution here
https://rankmath.com/kb/prevent-rank-math-from-flushing-w3-total-cache/- This reply was modified 10 months ago by fkoomek.
Ok. And what to write there?
It didn’t. Everytime I update/save post, the categories are purged.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Delete originals not workingOh, so that’s why the conversion took so long ??
Ok, now I understand.
Thanks.
Radan