Title: Dynamic Cache not working
Last modified: October 13, 2020

---

# Dynamic Cache not working

 *  [wellshot](https://wordpress.org/support/users/wellshot/)
 * (@wellshot)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamic-cache-not-working/)
 * Hi,
 * I’m using Woocommerce with WP Super cache plugin for caching. The problem is 
   when I’m adding a product from the homepage or the product page it gets added
   to cart alright, but when I’m clicking on ‘view cart’ for checkout, it shows ‘
   Your cart is empty’. I came to know about it when one of my customer complained
   me about the issue.
 * When I checked it from my Desktop PC, I don’t see any problem, so is with my 
   mobile phone. Then I checked from my friend’s phone (opened my website on my 
   friend’s phone for the first time ever), and I can see the same issue.
 * This causes my potential customers run away.
 * I’m using WP Super Cache and WP Optimize plugins both are enabled. WP SC for 
   cache and WPO for css/js/html minification. Caching is disabled in WPO. So I 
   don’t think it’s conflicting with WP SC.
 * Any help please?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-cache-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamic-cache-not-working/#post-13526465)
 * Is your dynamic caching code working? WP Super Cache needs extra work by the 
   site owner to do dynamic caching of parts of the page.
 *  Thread Starter [wellshot](https://wordpress.org/support/users/wellshot/)
 * (@wellshot)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamic-cache-not-working/#post-13526524)
 * > Is your dynamic caching code working?
 * How do I check that? Also please define the “extra work” which needed to be done.
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/dynamic-cache-not-working/#post-13526787)
 * Take a look at [https://github.com/Automattic/wp-super-cache/blob/master/plugins/dynamic-cache-test.php](https://github.com/Automattic/wp-super-cache/blob/master/plugins/dynamic-cache-test.php)
 * There are two examples in that file. One of which may help. Unfortunately it’s
   not easy to figure out, especially when you’re working with code from other people.
 * It might be easier to enable “Disable caching for visitors who have a cookie 
   set in their browser” as I presume the shopping cart sets a cookie.

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

The topic ‘Dynamic Cache not working’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/dynamic-cache-not-working/#post-13526787)
 * Status: not resolved