Skip to content
Michel J. asked 6 years ago

Hello David,

On my development site I've installed your plugin and setup widgets. When I delete all the products in the store your plugin (widgets) still shows the attributes as if the products are still there. I also deleted the attributes rebooted the vps etc etc but still no luck, it looks like a caching problem but on my vps I don't have installed any caching plugin. My setup is as follow: Ubuntu 16.04.1, LEMP stack.

Hope you can help me out, I am very positive about the speed your plugins give me.



2 Answers
Dave H. answered 6 years ago

Hi – there is an inbuilt caching system which uses (currently) transients to cache the sql results for the group by statements to fetch the category counts. This cache lasts 1 hour. If you wait an hour, the items will be gone.
I will add an option to disable this cache as it was really intended to be an optional choice.
In the meantime – you can use to clear the transients.

Michel J. replied 6 years ago

Hello Dave, I am going to try that. Thanx for your quick response and workaround.

Dave H. answered 6 years ago

In v2.7 I’ve added a few things to fix this. Firstly, you can switch off the built-in category/attribute SQL caching. Secondly, you can clear the cache from the settings page. Lastly, it will automatically clear the cache if you modify the product categories.

Come chat to me on our Discord server to ask questions - Dave Hilditch, WP Intense

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.