Hello @diamantweb
Thank you for your inquiry and I am happy to assist you with this.
Since the page is cached and the prices should be dynamic, the only thing that you can try to do is to exclude the entire page from being cached.
You can also try to set a manual cron job on your server which will call $w3_plugin_totalcache->flush_all(); on a specific time interval.
Alternatively, you can try Fragment Caching that is available after upgrading to Pro.
Thanks!
HI Marko,
thx for a quick responce. Additionally can I set a cron rule to cache all pages once flush is exucuted? If yes, which cron rule should be set on the server?
Hello @diamantweb
Thank you for your question.
You cannot cache all pages at once but you can enable Cache Preload in Performance>Page Cache.
This will ensure that all the pages are cached without being visited.
It’s advisable to disable wp-cron and use server cron to trigger preloading for example every 10 mins.
Something like */10 * * * * wget -q -O - http://www.example.com/ >/dev/null 2>&1
Thanks!