• Resolved heresthecavalry

    (@heresthecavalry)


    Hi there

    The booking functionality on the page I’ve linked to is done with Crocoblock’s JetBooking. It’s a test page.

    The issue I have is that when the booking status changes so that dates are reserved (see March 1st to 8th on the form’s datepicker on that page) I have to purge the entire cache in order for it to show up as reserved (and prevent others trying to book those dates). I don’t want to do that especially as these issues are likely to arise when the site is extra busy following an offer. So I want to try and exclude the date booking functionality from cache if I can.

    Crocoblock support say I should “exclude entire folder (for JetBooking) from Cache” I am not sure I can do that can I? In which case what exactly should I do and where in Litespeed cache? Grateful for help – I’ve never really understood how to do excludes of plugins.

    The plugin’s path is queenvillasturkey.com/wp-content/plugins/jet-booking if that helps.

    The site is on an Open Litespeed server – I couldn’t make head nor tail yet of the instructions here: https://docs.openlitespeed.org/config/headers/ so I don’t know if that’s anything to do with it.

    thanks in advance for any help you can offer!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try this

    go to Cache -> Exclude -> put page URI into do not cache URI , purge all

    and then see how it goes

    Thread Starter heresthecavalry

    (@heresthecavalry)

    Hi there, thanks for your reply. I should have mentioned that I was trying to avoid disallowing cache on those pages as they need as much help as they can get, it’s just the dates on the form that are the issue. However! Realising my mistake there made me realise what the solution is – the form itself has a Do not cache setting so that is what I have done and hopefully it will allow the pages to load ok with all the other dynamic stuff on them and just clear the dates each time.

    Thanks again for your help 🙂

    Thread Starter heresthecavalry

    (@heresthecavalry)

    Adding to this, in fact it doesn’t work excluding the form. I am still having to clear the cache manually on the page to get the dates to show up as unavailable after the booking order is updated as paid.

    I think I need to take some time to study the custom headers thing, I really don’t understand the instructions there at all.

    Plugin Support qtwrk

    (@qtwrk)

    is the booking require users to login ?

    and also did you enable object cache and cache rest api ? please try disable these 2options , see if it helps

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Excluding booking plugin’ is closed to new replies.