Integration Details
Integration: Full
Limitations: None
Integrated with:
SiteGround Optimizer (also known as Speed Optimizer, SiteGround’s official caching and performance plugin) speeds up your site with full-page caching, JavaScript and CSS minification, and image optimization. Since WooCommerce Wholesale Prices and WooCommerce Wholesale Prices Premium show a different price depending on who’s logged in, how a caching plugin treats logged-in visitors matters a lot. SiteGround Optimizer handles this correctly by default.
By default, SiteGround Optimizer does not cache pages for logged-in users at all, so a logged-in wholesale customer always gets a live page reflecting their correct wholesale price rather than a page cached for a retail visitor. If you turn on the plugin’s Logged-in users cache setting for extra speed, it stores a separate cached copy of each page per user account, so every wholesale customer’s cache still shows their own pricing tier.
Cart, checkout, and my account pages, the pages WooCommerce Wholesale Order Form relies on, are always excluded from caching, and any visitor with items already in their cart bypasses the cache automatically. Editing a wholesale price rule on a product also triggers an automatic cache purge, so pricing changes go live immediately instead of sitting behind a stale cached page.
Front-end optimization and cart-dependent scripts
SiteGround Optimizer’s asset scanner, used to decide which JavaScript and CSS files to combine, minify, or load asynchronously, loads the WooCommerce cart object before scanning your site’s scripts. That means scripts the order form and dynamic pricing rely on to react to what’s in the cart are detected correctly during a scan instead of being missed or broken by the optimization.
- Wholesale prices stay accurate whether or not “Logged-in users cache” is turned on
- Cart, checkout, and account pages used by the order form are never served from cache
- Saving a product with an updated wholesale price rule purges the cache automatically
- JavaScript/CSS optimization scans account for cart-dependent scripts instead of skipping them
