Title: Plugin conflict css cache problem
Last modified: July 7, 2025

---

# Plugin conflict css cache problem

 *  Resolved [tendenzechic](https://wordpress.org/support/users/tendenzeshabbychic/)
 * (@tendenzeshabbychic)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/)
 * Hi, I have a problem with the joinchat plugin, after the last update the WhatsApp-
   shaped icon does not appear correctly (see link) to old visitors.
 * I tried clearing the cache, excluding both the css and dedicated js of the plugin
   but the problem persists. the browser continues to provide the old version of
   the css and js generating.
 * [https://prnt.sc/Ew-7ZfHWT2Db](https://prnt.sc/Ew-7ZfHWT2Db)
 * This only happens for old visitors
 * If I disable litespeed the problem doesn’t happen
 * I contacted joinchat support and they responded
 * > It’s very likely that the issue is caused by an optimization plugin that removes
   > the version query string (`?ver=...`) from the CSS files.
   > When the version parameter is stripped, browsers may keep using a cached version
   > of the file, thinking it hasn’t changed — even though it actually has. This
   > would explain why only returning users (with an old cache) are seeing the broken
   > icon.
   > You can check your optimization or caching plugin settings and **disable the
   > option that removes version parameters from CSS/JS files**. That way, returning
   > users will get the updated files after updates like the one from 5.x.x to 6.0.4.
 * Can you help me?
 * Report Number: **MPIHIRCQ**

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/?output_format=md)
2

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/page/2/#post-18550094)
 *     ```wp-block-code
       function update_joinchat_version( $content ) {    if ( defined( 'JOINCHAT_VERSION' ) ) {        $content = str_replace(             'joinchat.min.js',             'joinchat.min.js?ver=' . JOINCHAT_VERSION,             $content         );        $content = str_replace(             'joinchat.min.css',             'joinchat.min.css?ver=' . JOINCHAT_VERSION,             $content         );    }    return $content;}add_filter( 'litespeed_buffer_after', 'update_joinchat_version', 10);
       ```
   
 * then you can use this , and don’t forget go to Page Optm -> Tuning CSS -> CSS
   exclude , and also Page Optm -> Tuning -> JS exclude , add `joinchat` into both
   fields
 *  Thread Starter [tendenzechic](https://wordpress.org/support/users/tendenzeshabbychic/)
 * (@tendenzeshabbychic)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/page/2/#post-18550098)
 * Everything works fine, Thank you very much, for the fast and accurate support!
 * I’m pasting this thread onto the joinchat ticket because others also had this
   problem
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/page/2/#post-18550130)
 *     ```wp-block-code
       function update_joinchat_version( $content ) {    if (! apply_filters( 'litespeed_conf', 'optm-qs_rm' )) {        return $content;    }        if ( defined( 'JOINCHAT_VERSION' ) ) {        $content = str_replace(             'joinchat.min.js',             'joinchat.min.js?ver=' . JOINCHAT_VERSION,             $content         );        $content = str_replace(             'joinchat.min.css',             'joinchat.min.css?ver=' . JOINCHAT_VERSION,             $content         );    }    return $content;}add_filter( 'litespeed_buffer_after', 'update_joinchat_version', 10);
       ```
   
 * okay , little update , this one added the check if remove query string is enabled,
   and only add the version number if enabled, to prevent multiple appending
 *  [Pacotole](https://wordpress.org/support/users/pacotole/)
 * (@pacotole)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/page/2/#post-18550734)
 * Thank you [@tendenzeshabbychic](https://wordpress.org/support/users/tendenzeshabbychic/)
   and [@qtwrk](https://wordpress.org/support/users/qtwrk/)!
 * We have included it in the latest version of Joinchat.

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/?output_format=md)
2

The topic ‘Plugin conflict css cache problem’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 19 replies
 * 4 participants
 * Last reply from: [Pacotole](https://wordpress.org/support/users/pacotole/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/plugin-conflict-css-cache-problem/page/2/#post-18550734)
 * Status: resolved