• Resolved adisaputro25

    (@adisaputro25)


    Hello, thanks for making this amazing plugin,

    I am using cache plugin like wpfastestcache and cloudflare with cache everything enabled, how to exclude chat form from being cache?

    So I want to make page or post was cache but not chat form.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @adisaputro25,

    thanks for making this amazing plugin

    You are welcome ??

    I am using cache plugin like wpfastestcache and cloudflare with cache everything enabled, how to exclude chat form from being cache?

    What parts of the chat form are cached? Do you generate dynamically something inside this chat? If not, it’s okay to cache it ??

    Thread Starter adisaputro25

    (@adisaputro25)

    I think chat conversation was being cached by that plugin or cloudflare, so when I refresh the post or page, cache conversation still appear, not empty. Other people or visitor will see the conversation that occurred before.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Did you set an ID to that Chatbot? If yes, the conversation is kept in the browser, until the button “Clear” is used.

    Thread Starter adisaputro25

    (@adisaputro25)

    When I edit the chatbot via chatbot builder on your plugin and paste the new shortcode generated by your plugin into the post, the post still uses the older shortcode and still acts like the older code/context given before I edit the chatbot.

    For example,

    First I make the chatbot like a teacher and I paste the code into the post so chatbot acts like a teacher, and then I edit the chatbot again so they can act like a doctor, when I edit the post with the new code, chatbot still acts like a teacher, not a doctor.

    Just to clarify this, it is needed to paste new code everytime and update the post when I want the chatbot to act like person A (for example) and then clear the cache?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Oh I see… unfortunately, the only way is to clear the cache here. Shortcodes belong to a page, and are generated when the pages are generated; if that’s cached, it will remain the same. That said, when you edit your page, whatever caching system you use should reset the cache for that page ?? Normally, you shouldn’t have this kind of issues.

    Thread Starter adisaputro25

    (@adisaputro25)

    Thank you for the answer, very helpful ??

    Plugin Author Jordy Meow

    (@tigroumeow)

    I hope so ?? And if you find what was the problem exactly, don’t hesitate to share.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Exclude chat form from being cache by plugin’ is closed to new replies.