Plugin Support
qtwrk
(@qtwrk)
Hi,
Well … I did a quick look on their doc
but seems there is no filter we can use.
Please kindly contact their support and ask them to do one of the following actions when user is blocked on their plugin
do_action( 'litespeed_purge_post', $post_id );
//to purge the current page on blocking
or
do_action( 'litespeed_control_set_nocache', 'nocache due to spam' );
//to set that page no-cache on that visitor
Best regards,
-
This reply was modified 5 years, 7 months ago by
qtwrk.
Thank you for the reply. For the time being, I decided to forego the WP Zero Spam plugin and use reCaptcha v3 for my contact page.
More info here for those interested:
https://forum.openlitespeed.org/threads/does-ols-cache-pages-with-403-error-code-forbidden.4628/#post-9893
Now interestingly, I am encountering another issue with OLS and LSCache where a publicly cached page is served to everyone, even my logged-in private session. This sounds very much like what was happening with the WP Zero Spam plugin, so maybe the plugin was not at fault after all.
Something is wrong with OLS + LSCache. It’s happening for both of my sites. I am using OLS v1.7.5 (with Cyberpanel) and LSCache v3.5.2 on Ubuntu 20.04. It’s hard for me to understand how the cache engine can mix up private and public cache information.
Adding that under /usr/local/lsws/cachedata, I only see a priv directory. I guess I was expecting a public directory too, but I don’t really know how OLS works.
Any advice is welcome and will be appreciated 🙂