fbpx
Want To Add Extra Images Per Product Variation? Download This Free Plugin

Caching Erorr with WP Optimize

Hi i am using the Variation Swatch plugin with my astra theme and wp-optimize for caching(html and js/css minify) whenever i activate the html caching for my site, the variation swatch stopps working after a couple of hours. Are there any known problems? So far i couldn’t find the problem.

Usually the color/image swapping for my articles works on my archive pages when i hover with the mouse over a color, but when i activate the html caching it stops working after some time. When i only activate css/js minify it works, but then the site slows down because i cannot use html caching.

 

"Screenshot

 

"Screenshot

 

"Screenshot

Hakik Zaman

Hi Alexander,

Thanks for reaching out to us.

Please try to disable these options and try again.

Hope to hear from you soon.

Thank You

Hi, thanks i think that did it. But i still have to try it tomorrow again, in the past i also had to way up to a day, after clearing the cache until it stopped working

ok, just checked the site again and it looks like it doesn’t work anymore

 

 

 

 

 

 

 

 

that purge button should be from the WP-Optimize Plugin from the Screenshots, as far as i know there should be no serverside caching besides apcu from php 8.3

Hakik Zaman

Hi Alexander,

In that case, temporarily deactivate the WP-Optimize plugin for a test.

Then check whether swatches are working as expected or not.

Hope to hear from you soon.

Thank You

Hi, yes without the plugin and with the plugin but html caching disabled(js minify and merging enabled) everything works. i would like to enable the html caching to speed up the site but then after 1-2 days, the color switching stops working.

 

 

Hakik Zaman

Hi Alexander,

It’s a development staging site. Please log in here and set up your theme. And try to reproduce your issue here.

https://wptestbox.com/363423/wp-admin/

Username: admin

Password: lL0rK7853y3K

Note: I have added the necessary plugins. Please reproduce the issue for one product

Hope to hear from you soon.

Thank You

Hi, thank you i will give it a try today and set everything up similar to our shop.