WPIntell

Source evidence

Variation Swatches and WP Rocket caching plugin

Variation Swatches for WooCommerce – Color, Image & Size Swatches · support · 2025-08-21T15:49:00+00:00

complaintsentiment
mediumseverity
0.64relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 11 rows with source links

36.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

7 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
monster000 resolved
When “Delay JavaScript execution” is enabled in the caching plugin, the default variations are not shown. When we set the caching plugin settings to exclude all scripts, the default variations are not shown. As soon as we disable “Delay JavaScript execution”, the default variations are shown fine. I am not sure if this is a problem with your plugin, but this caching plugin is very popular and the problem exists. Hi @monster000 , Thank you for sharing the details of your setup and for testing with the WP Rocket caching options. From what you’ve described, the issue is related to the “Delay JavaScript execution” feature in WP Rocket. Variation Swatches relies on certain scripts to display the default variation correctly, and when those scripts are delayed, it prevents the variations from loading as expected. To resolve this, you can try excluding our plugin’s scripts from the “Delay JavaScript execution” setting in WP Rocket. This way, the swatch scripts will always load immediately while still allowing other optimizations from WP Rocket. Here’s what you can do: In WP Rocket, go to Settings → File Optimization → Delay JavaScript execution . Add the following keywords to the exclusion list: swatches.js (You may need to adjust depending on your setup.) Save changes and clear your cache. This should allow the default variations to show correctly while keeping WP Rocket’s optimizations active. Best regards, Hi there, It’s been a while since our last response posted, and we haven’t heard from you since then. I hope you find it useful for you. I am marking this thread as Resolved due to inactivity. Feel free to reply back to this thread if you still need any assistance or start a new thread if there’s anything else related to this plugin, we can help you with. Kind regards, Herman 😊 Sorry, I was away. Before I wrote this appeal, I had tried all the options you suggested. Hi @monster000 , Thanks for getting back to us and confirming the steps you’ve already tried. In this case, we’d like to take a closer look at your setup to investigate further. Could you please open a support ticket with us and share the details along with the exact replication steps? This will help us better understand the issue and provide you with a more accurate solution. You can open a ticket here: https://cartflows.com/support/ Best regards,

Comments

4 shown
Aamir 2025-08-27T10:47:00+00:00

Hi @monster000 , Thank you for sharing the details of your setup and for testing with the WP Rocket caching options. From what you’ve described, the issue is related to the “Delay JavaScript execution” feature in WP Rocket. Variation Swatches relies on certain scripts to display the default variation correctly, and when those scripts are delayed, it prevents the variations from loading as expected. To resolve this, you can try excluding our plugin’s scripts from the “Delay JavaScript execution” setting in WP Rocket. This way, the swatch scripts will always load immediately while still allowing other optimizations from WP Rocket. Here’s what you can do: In WP Rocket, go to Settings → File Optimization → Delay JavaScript execution . Add the following keywords to the exclusion list: swatches.js (You may need to adjust depending on your setup.) Save changes and clear your cache. This should allow the default variations to show correctly while keeping WP Rocket’s optimizations active. Best regards,

Herman Asrori (BSF) 2025-09-09T10:02:00+00:00

Hi there, It’s been a while since our last response posted, and we haven’t heard from you since then. I hope you find it useful for you. I am marking this thread as Resolved due to inactivity. Feel free to reply back to this thread if you still need any assistance or start a new thread if there’s anything else related to this plugin, we can help you with. Kind regards, Herman 😊

monster000 2025-09-09T10:37:00+00:00

Sorry, I was away. Before I wrote this appeal, I had tried all the options you suggested.

Aamir 2025-09-17T12:43:00+00:00

Hi @monster000 , Thanks for getting back to us and confirming the steps you’ve already tried. In this case, we’d like to take a closer look at your setup to investigate further. Could you please open a support ticket with us and share the details along with the exact replication steps? This will help us better understand the issue and provide you with a more accurate solution. You can open a ticket here: https://cartflows.com/support/ Best regards,