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.
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 https://en-gb.wordpress.org/plugins/wp-optimize/ to clear the transients.
Hello Dave, I am going to try that. Thanx for your quick response and workaround.