Support » Plugin: WP Chat App » How to exclude from Cache?

  • Resolved Vicky

    (@vickymedrano)


    Plugins seems amazing, I’m trully impressed, except for the cache compatibility.
    I use W3 Total cache (W3TC) and I’ve exclude absolutely ALL this plugins files (JS, PHP and CSS) from page cache and minify and I couldn’t prevent the cache from caching it. Therefore the schedule time for the plugin doesn’t work on front end.
    So there must be something else being loaded, maybe a function instead of a file. Can you please advice me on how to make it work with the cache?

    Thanks for your time!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ninja Team

    (@ninjateam)

    Hi there,

    Thanks for reaching out. Have you excluded all files .php in folder “includes” yet?

    Kelly

    • This reply was modified 4 months, 3 weeks ago by Ninja Team.
    Vicky

    (@vickymedrano)

    Hi kelly,

    Thanks for your response.
    Yes I have.
    I actually excluded ALL files (CSS, JS and PHP) from page cache and minify, but it is still being chached.
    Do you know if your plugin is compatible with W3 Total Cache?

    Here’s the full list:

    JS FILS:
    wp-content\plugins\wp-whatsapp\assets\js\main.js
    wp-content\plugins\wp-whatsapp\dist\blocks.build.js
    wp-content\plugins\wp-whatsapp\scripts\js\admin-scripts.js
    wp-content\plugins\wp-whatsapp\scripts\js\jquery.validate.min.js

    CSS FILES:
    wp-content\plugins\wp-whatsapp\scripts\css\style.css
    wp-content\plugins\wp-whatsapp\dist\blocks.style.build.css
    wp-content\plugins\wp-whatsapp\dist\blocks.editor.build.css
    wp-content\plugins\wp-whatsapp\dist\assets\css\style.css
    wp-content\plugins\wp-whatsapp\dist\assets\css\reset.css
    wp-content\plugins\wp-whatsapp\assets\css\style.css
    wp-content\plugins\wp-whatsapp\assets\css\reset.css

    PHP FILES:
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-display-settings.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-meta-accounts.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-meta-button-style.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-selected-accounts.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-settings.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-widget-view.php
    wp-content\plugins\wp-whatsapp\views\nta-whatsapp-woocommerce-button.php
    wp-content\plugins\wp-whatsapp\gutenberg\init.php
    wp-content\plugins\wp-whatsapp\includes\Helper.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-ads.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-class.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-popup.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-post-type.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-setting.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-shortcode.php
    wp-content\plugins\wp-whatsapp\includes\nta-whatsapp-woocommerce.php
    wp-content\plugins\wp-whatsapp\whatsapp.php

    Plugin Author Ninja Team

    (@ninjateam)

    Hi there,

    Please open file “Helper.php” in the folfer “includes”, add this code
    define('DONOTCACHEPAGE', true); (Screenshot http://prnt.sc/sw8tb4)

    Then on the menu bar, choose “Purge All Caches” (Screenshot http://prnt.sc/sw8tkz)

    Let me know if this helps.

    Kelly

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.