Title: Exclude a plugin from LiteSpeed Cache
Last modified: January 16, 2025

---

# Exclude a plugin from LiteSpeed Cache

 *  Resolved [lulikwerner](https://wordpress.org/support/users/lulikwerner/)
 * (@lulikwerner)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/)
 * Hello,
 * I need assistance with excluding the **Return Refund and Exchange for WooCommerce**
   plugin from LiteSpeed Cache. Despite attempting to exclude its CSS and JS files,
   the issue persists.
 * One of the primary functions I rely on is allowing customers to send messages
   after placing an order. However, when LiteSpeed Cache is enabled, these messages
   do not appear on the page unless the site is manually refreshed. This causes 
   confusion, as customers think their messages were not sent and often resend them.
 * Could you help me properly exclude this plugin from the cache or suggest a solution
   to resolve this issue?
 * Thank you for your help!
 * Here is the report number i created
 * Report number: **DSPMEWXS**
 * Report date: **01/16/2025 15:27:57**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclude-a-plugin-from-litespeed-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18248614)
 * Hello [@lulikwerner](https://wordpress.org/support/users/lulikwerner/) 
   Thank
   you for the report, it helped me in starting debugging your issue.I created a
   strip version of your setup:WP(6.7.1)LSC(6.5.4)Woocommerce(9.5.2)Return Refund
   and Exchange for WooCommerce(4.4.4)Checked some settings that seems important
   Created a customer user, created an order and set it to in “process” and tested
   messaging from order complete link. Something like:` *****.co.uk/view-order-msg/?
   order_id=1897&wps_rma_nonce=df8637cd6d` and I was NOT able to reproduce the error.
   Please give me details of how it happens.Also there are 2 settings you can change
   to test a solution(change 1 at a time):– turn **OFF** this setting: [https://docs.litespeedtech.com/lscache/lscwp/cache/#cache-rest-api](https://docs.litespeedtech.com/lscache/lscwp/cache/#cache-rest-api)–
   turn **OFF** this setting: [https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-cache](https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-cache)
   Keep me posted 🙂
    -  This reply was modified 1 year, 4 months ago by [litetim](https://wordpress.org/support/users/litetim/).
    -  This reply was modified 1 year, 4 months ago by [litetim](https://wordpress.org/support/users/litetim/).
      Reason: Add correct refund plugin name
 *  Thread Starter [lulikwerner](https://wordpress.org/support/users/lulikwerner/)
 * (@lulikwerner)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18248748)
 * Right now i just clicked purge all, then i went to my orders (as a customer) 
   wrote a message and the first message goes through and after a few seconds shows
   on the site without refreshing, but as soon i try to send another message and
   click on the button “Enviar” (Send) nothing happens the message is not being 
   sent and of course is not being shown in the chat history. Even if i refresh 
   de website it still does not work.
 * The only way is getting out of the order and getting back and send the new message.
   Is ther another documentation i can go through?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18250204)
 * >  Even if i refresh de website it still does not work.
 * at this point , if you purge all , does it show up the messages ?
 *  Thread Starter [lulikwerner](https://wordpress.org/support/users/lulikwerner/)
 * (@lulikwerner)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18250262)
 * I purged all caches but still have the same problem. I’m not entirely sure if
   the correct name to exclude in **Page Optimization > Tuning** (under **JS Excludes**
   and **JS Deferred/Delayed Excludes**) is `refund-and-exchange-for-woocommerce`
   or `return-refund-and-exchange-for-woocommerce`. Could you confirm if this is
   correct, or if there’s another name I should use?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18250361)
 * no , I don’t think it’s related to any JS or CSS file but something else

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

The topic ‘Exclude a plugin from LiteSpeed Cache’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/exclude-a-plugin-from-litespeed-cache/#post-18250361)
 * Status: resolved