baf285
Forum Replies Created
-
It’s very strange, but I make this mistake all the time https://i.postimg.cc/qMHYjN87/SCR-20250724-tpeo.jpg
Thank you, I’ll think about what to do with it on my own.
Thank you. I’ll be waiting for the official update.
You are doing a very good job.
Forum: Plugins
In reply to: [W3 Total Cache] How to make the record cache eternal?Unfortunately, due to illegal sanctions against my country, I can’t buy in foreign stores.
I understood your answer that you can make the cache eternal only in the paid version. It’s okay, but I’ll look for other options. I think there are pirated versions or others in which it is implemented for free. As soon as the sanctions are lifted, maybe I’ll buy your product. Thank you.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftSorry.
With the help of ChatGPT, I did this:
Creating a separate plugin
If you want the changes not to depend on the active theme (for example, if you plan to change themes), you can create your own plugin:
- Log in to your server via FTP or use the file manager in the hosting control panel.
- Go to the wp-content/plugins folder.
- Create a new folder, for example, custom-w3tc-fixes.
- Inside this folder, create a file called custom-w3tc-fixes.php.
- Open this file and add the following code:
<?php
/*
Plugin Name: Custom W3TC Fixes
Description: Prevents unnecessary cache flushing in W3 Total Cache.
Version: 1.0
Author: Name
*/
add_filter( 'w3tc_preflush_posts',
function( $do_flush, $extras ) {
if ( isset( $extras['ui_action'] ) && $extras['ui_action'] == 'flush_button' ) {
return $do_flush;
}
return false;
},
99999, 2 );
add_filter( 'w3tc_preflush_all',
function( $do_flush, $extras ) {
if ( isset( $extras['ui_action'] ) && $extras['ui_action'] == 'flush_button' ) {
return $do_flush;
}
return false;
},
99999, 2 );- Save the file and return to the WordPress control panel.
- Go to the Plugins section and activate your new plugin “Custom W3TC Fixes”.
I think it worked, but the main page is still clearing. But other pages remain in the cache when I save the draft. I think this decision is very good for me. Thank you very much.
I want to offer you to make such a plugin, I think people will find this solution very useful.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftThank you.
I’ve read the link, but I’m not a programmer, I don’t understand what should I do? Please help me.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftDate
Wed, 04 Dec 2024 14:48:02 +0000
Action
flush_all
User
xxx
Stack Trace
#0 wp-includes/class-wp-hook.php(324) W3TC\PgCache_Plugin--w3tc_flush_posts (null)
#1 wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(170) do_action ("w3tc_flush_posts", null)
#2 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(299) W3TC\CacheFlush--flush_posts (null)
#3 wp-content/plugins/w3-total-cache/w3-total-cache-api.php(332) w3tc_flush_posts ()
#4 wp-content/plugins/seo-by-rank-math/includes/class-helper.php(239) w3tc_pgcache_flush ()
#5 wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache.php(246) RankMath\Helper--clear_cache ("sitemap/author")
#6 wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache-watcher.php(319)
RankMath\Sitemap\Cache--invalidate_storage ("author")
#7 wp-includes/class-wp-hook.php(324) RankMath\Sitemap\Cache_Watcher--clear_queued ("")
#8 wp-includes/load.php(1279) do_action ("shutdown")
#9 () shutdown_action_hook ()I managed to get a dump. I apologize. It was only for the sake of this experiment that I did this for the first time in my life.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftWhen a cache for pages is created, it looks like this:
- _index_slash_ssl.html
- _index_slash_ssl.html_gzip
When I click save draft, the cache looks like this:
- _index_slash_ssl.html_gzip_old
- _index_slash_ssl.html_old
Performance>Page Cache>Purge Policy – Installed by default, I didn’t change anything here. There are ticks in the following places:
- Page with records
- Entry page
- RSS feed of the blog
It is written that it is not recommended to change these settings and therefore I did not change these settings.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftUnfortunately, I can’t do it. This option is paid. I can’t buy your program because of illegal sanctions against my country. I’m sorry, but in such cases I will look for another program for the cache.
Forum: Plugins
In reply to: [W3 Total Cache] How to disable page cache cleaning when editing a draftHow to enable this journal? Can you tell me in detail how to do it?
- This reply was modified 1 year, 6 months ago by baf285.
Forum: Plugins
In reply to: [Comments - wpDiscuz] The comment reply button is missingThank you very much. I would never have guessed to look for a solution there, in the wordpress settings. Thank you!!!!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Error ReCapchaThank you, you helped me!!!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Installation with another pluginThank you for your quick response. You are the best!!!
Can you tell me how to clear the cache? I’ve never done that.
Forum: Plugins
In reply to: [Comment Reply Email] Replay Email HTML format is not workingPlease help me fix it
Forum: Plugins
In reply to: [Comment Reply Email] Replay Email HTML format is not workingI have the same problem, I thought I broke something, but it turns out the problem is in the plugin.
Forum: Reviews
In reply to: [RSS for Yandex Zen] Перестал работатьЗдравствуйте!Давайте попробуем убрать из RSS вот эту часть ( <pre class=”wp-block-code”><code>2 – TS3SERVER_LICENSE 3 – accept</code></pre> ) она может мешать материалу прокачиваться, так как наша система не умеет такое считывать.Также в ленте есть теги и атрибуты, которые не поддерживаются у нас.Например, nav и т.п.В нашей справке перечислено все, что читается. Ссылка в конце письма.Если вы используете другие непредусмотренные символы или форматы, то мы не сможем гарантировать, что материал опубликуется или будет выглядеть корректно.Пожалуйста, уберите их, проверьте ленту на соответствие требованиям и напишите нам снова. Разметка и подключение ленты RSS:– https://dzen.ru/help/website/rss-modify.html.Софья