Hello @stevehale
I am sorry about the issue you are experiencing and I am happy to help!
In the W3 Total Cache there are number of ways to add pages to exclusion. If you want to exclude something from the page cache, go to Performance>Page Cache>Advanced and there you can see various ways to add pages to exception.
If you want to exclude the specific page from the cache you can add it to “Never Cache following Pages” field.
If convenient, pelase share the page you have issues with.
Thanks!
Yes I know all about that BUT you don’t explain how to exclude this call properly:
spbc_remote_call_action
I ALREADY shared the page I was having issues with.
Please advise
Regards
Steve
Hello @stevehale
Thank you for your feedback.
I investigated more and there is an article on How to Set Up the Anti-Spam by CleanTalk and W3 Total Cache
Please check the link below and let me know if this helps!
https://cleantalk.org/help/cleantalk-and-w3-total-cache
Thanks!
This link is to the wrong plugin.
The issue is with the Cleantalk Firewall and Security app, not the Anti Spam one.
Steve
Hello @stevehale
Sorry for the confusion.
So I will need the steps to reproduce this in order to find out what exactly needs to be done in this case.
Also, please share which caching method you are using for Page Caching (Disk: Enhanced, Disk: Basic, or other like Redis or Memcached) and let me know if you are caching the URis with query strings.
If you are using Disk: Basic, and you have enabled the option Cache URIs with query string variables, that GET parameter may be cached. In this case, it’s best to use Disk: Enhanced and not cache URi with query strings, and only add the query strings you want to cache in Performance>Page Cache>Advanced>Accepted query strings:
Thanks!
I am not sure where to find the type of page caching.
I have entered this into the section:
Never cache pages associated with these categories:
spbc_remote_call_action
Is this right?
Steve
Hello @stevehale
Thank you for your feedback.
You can find the page caching method in the General settings, section under the Page Cache.
The problem is that I am not sure what spbc_remote_call_action does.
If it’s a part of the URL, then it’s most likely a string.
Thanks!
OK. In WP Fastest cache you can put an exception the “contains” part of a string but it seems in your plugin the whole URL is needed, or is that not the case?
Steve
Hello @stevehale
W3 Total Cache offers a lot of different options and it’s much more advanced.
If the URL contains spbc_remote_call_action, then you should add the entire URL, or as mentioned before disable caching of the query strings. Generally speaking it’s not wise to cache all query strings, so I would recommend switching to Disk: Enhanced and adding only the strings you want to cache in Performance>Page Cache>Advanced>Accepted query strings:
This way the query strings that you added will be cached and the one containing spbc_remote_call_action will not.
I hope this helps!
@stevehale thank you for rising this issue, we are going to add some automatization to our plugins to be compatible with W3TC. We will announce through Changelog as the changes are ready to use.
@vmarko thank you for the solution!