Is there a way speedup the loading of swatches on category pages? We use Cloudflare + WP Rocket and the site runs pretty smoothly. I had to enable the Archive pages preloader, because otherwise because of the cache I assume, the site will show products that are out of stock to be purchaseable and vice versa on category pages. Now that we have the preloader enabled the product swatches on category pages load slowly.
Are there some js files that I should exclude from WP Rocket or something that would help with this?
Here’s a screeen recording showing what I mean:
https://www.dropbox.com/scl/fi/kuwbk1cp8tr4nsuwd6syz/swatches-loading-on-category-page.mov?rlkey=mvofv71m6jjtg33p9faokzzhf&dl=0
Swatches loading slowly on category pages
Antero Riihimäki
Hi,
Is there a way speedup the loading of swatches on category pages? We use Cloudflare + WP Rocket and the site runs pretty smoothly. I had to enable the Archive pages preloader, because otherwise because of the cache I assume, the site will show products that are out of stock to be purchaseable and vice versa on category pages. Now that we have the preloader enabled the product swatches on category pages load slowly.
Are there some js files that I should exclude from WP Rocket or something that would help with this?
Here’s a screeen recording showing what I mean:
https://www.dropbox.com/scl/fi/kuwbk1cp8tr4nsuwd6syz/swatches-loading-on-category-page.mov?rlkey=mvofv71m6jjtg33p9faokzzhf&dl=0