Notifications
Clear all

[Solved] Problem with WPFORO and WPROCKET

26 Posts
4 Users
0 Likes
1,420 Views
Posts: 54
Topic starter
(@plop6901)
Trusted Member
Joined: 2 years ago
Hello @chris
 
Sorry to bother you again but I still haven't managed to fix my problem despite the help of WP rocket support. 
 
Would you have a solution as he suggests? Maybe a function or a filter to add in my function.php? 
 
Thanks a lot for your help... 
 
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @plop6901,

wpForo doesn't purge all caches of wpRocket but only Forum page cache where is wpForo's [wpforo] shortcode, and that pages cache has to be purged by wpForo. There is nothing to do there for us, Forum pages(only that pages) cache must be purged by wpForo that wpForo could work normally.

Posts: 54
Topic starter
(@plop6901)
Trusted Member
Joined: 2 years ago

@chris

To solve my problem, WProcket support worked on my site for more than 10 days. They came up with a solution that is acceptable and for anyone who has the same problem as me here is what to do so that WPforo does not accidentally delete the WProcket cache:

1) Install the Rocket No Cache Auto Purge helper plugin, which causes all WP Rocket auto cache clears to be disabled. In effect, this prevents the cache from being flushed when people log into the forum and do other actions that cause the cache to be flushed.

2) Set up a server cron to periodically clean and refresh the cache files, perhaps once or twice a day.

Here's hoping to help anyone who has the same problem as me.

Thanks again to everyone for reading

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@plop6901,

Thanks for the info.

Page 3 / 3