Hello @kryoz507
Thank you for reaching out and I am happy to help!
This depends on the server, so you should reach out to your hosting provider and create custom cron job and call w3tc_flush_all(): every 24 hrs.
Let me know if this helps!
Thanks!
In case if i have one website dynamic and every 5 minute have some update or post. For example: I use Buddyboss theme. The best way is to setup the cache plugin every 5 minutes?
Hello @kryoz507
In this case the best thing to use is the Purge policy in Performance>Page Cache. There, you can setup the plugin to clear the cache once the content is published/updated.
Thanks!
How i can do that? I check the purge policy but I dont understand.
Specify number of pages that lists posts (archive etc) that should be purged on post updates etc, i.e example.com/ … example.com/page/5.
0 means all pages that lists posts are purged, i.e example.com/page/2 … .
So how i can setup when clear the cache once the content is published/update?
Hello @kryoz507
Thank you for your feedback.
The default settings should be sufficient. If you update the post or post a new article the cache will be purged automatically.
Can you please share the website URL and also let me know if you have any other layer of caching like serve-side caching or proxy?
Thanks!
The website is http://www.leeprofonline.com.
I use proxy my host is hostarmada and I use cloudflare.
Hello @kryoz507
Thank you for sharing.
So as I can see this is members only website and the login is required. The Cache should not be enabled for logged in users by default and it should not be used for logged in users.
Is Page Caching enabled for logged-in users? Can you please confirm this and let me know if you have the expires time for the proxy cache?
Thanks!
1 year cache expires, to the login is not enable to cache just when the user log in to the website appear in other page similar to facebook. There can post message and anything.
Hello @kryoz507
Thank you for your feedback.
Can you please confirm how you can see that the page is cached?
Have you tried disabling the Browser Cache for HTML&XML?
Thanks!
I resolved, I setup by default w3tc_flush_all(): every 24 hrs. And I setup The default settings should be sufficient. If you update the post or post a new article the cache will be purged automatically. For dynamic website. Thanks