We are using W3 Total Cache with WooCommerce Bookings, and everything has been working well with caching pages- except for one problem which is that the product pages with dynamic reservation tool also get cached and this sometimes creates issues for the users as they should always see the latest dynamic content from the server. Do you have any suggestions on how we can fix this? Thanks!
There are a couple of ways you can fix this, I’ll go over one easy way, and one that might be a little more effective, but takes some coding on your part.
First, the easy way. In Performance > Page Cache > Advanced, you can use the options Never cache the following pages, Never cache pages associated with these categories, or Never cache pages that use these tags.
That way, if your reservations are always on a specific page, you can just omit that page from the page cache. If you have reservations on more than one post or page, you can either categorize them or tag them to omit them from the cache.
The more advanced way will let you keep the pages cached, just excluding certain fragments from the cache. You can use these instructions to add sections of your page templates that should not be cached and always be loaded dynamically.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘W3 Total Cache & WooCommerce Bookings issue’ is closed to new replies.