Title: Doesnt work with caching plugins
Last modified: April 26, 2019

---

# Doesnt work with caching plugins

 *  [panbill](https://wordpress.org/support/users/panbill/)
 * (@panbill)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-with-caching-plugins-3/)
 * Hello,
    First of all its a great plugin. I would like to point out that your 
   plugin doesnt work with caching plugins. When the page is cached so does the 
   message. So the message is wrong. Caching is really important for speed so we
   cant go without it. Is there a way to make it work right with caching enabled?
   Thank you

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

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-with-caching-plugins-3/#post-11524954)
 * Hello there,
    Thank you very much for your feedback, if you test without cache
   it works? what cache plugin you are using?
 * Best regards
 *  Thread Starter [panbill](https://wordpress.org/support/users/panbill/)
 * (@panbill)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-with-caching-plugins-3/#post-11525393)
 * Hello again,
 * I will try to explain you what i am talking about.
 * The cache plugin that i have tested more is wp rocket but it also happens with
   most cache plugins that i tried.
 * Yes without cache it works great. In fact it works, even if the cache plugin 
   is enabled in pages that are not cached ex. cart or checkout
    The problem appears
   on all the other pages that get cached.
 * Let me give an example.
 * Lets say that i have enabled the option to show how much more sales for free 
   shipping.
    So 100 $ for free shipping.
 * 1. I clear the cache
    2. I visit a product page for the first time and add the
   product that costs 1 $ to the cart so the message appears as it should 99 $ more
   left for free shipping. 3. Here starts the problem. This product page since i
   have visited it is now cached so does the message. 4.I visit the page again then
   add another product to cart so the message appears again now 98 $ more left for
   free shipping. Now If i visit again this product page again, I see the cached
   message,the first one(99 $ more left for free shipping) and not the correct one.
   The thing is that when the page is cached the message is cached with the page
   so its not the correct one.
 * Maybe if there was a way to use ajax,javascript to load the message everytime
   so it doesnt getting cached would be a good idea.
 * Please tell me if you need further details.
    I really think think that this is
   a great plugin and i feel bad that i cant use it with cache enabled.
 * Thank you

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

The topic ‘Doesnt work with caching plugins’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/yith-woocommerce-cart-messages_ba9bb0.
   svg)
 * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-cart-messages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-cart-messages/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-cart-messages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-cart-messages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-cart-messages/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [caching](https://wordpress.org/support/topic-tag/caching/)

 * 2 replies
 * 2 participants
 * Last reply from: [panbill](https://wordpress.org/support/users/panbill/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/doesnt-work-with-caching-plugins-3/#post-11525393)
 * Status: not resolved