Cache WooCommerce Shortcodes

July 3, 2026

Product grid shortcodes are convenient, but they’re expensive. The

,
and Flatsome [ux_products] shortcodes each run a product query and render a grid every single time a page containing them is loaded. On a small catalogue you won’t notice. On a large store, where each of those queries has to sift through thousands of products, the same work gets repeated on every page view even though the result barely changes from one visitor to the next.

The waste is that the output is almost always identical. A "best selling products" grid doesn’t change between two visitors a second apart, yet WordPress rebuilds it from scratch for both.

The fix is in the Bloat tab. Scalability Pro provides cached versions of these three shortcodes. When one runs, its rendered output is stored, and on subsequent page loads that stored output is served straight from cache instead of running the product query and rebuilding the grid. You enable caching per shortcode, so you can cache the ones that appear on your busiest pages and leave the others alone if you prefer.

Because the grid is served from cache, the pages these shortcodes sit on stop carrying the cost of a live product query on every load, which is exactly where large stores tend to feel the strain.

In short:

,
and Flatsome’s [ux_products] rerun a product query on every page load. The Bloat tab lets you switch on cached versions per shortcode, so the grid is built once and served from cache after that, keeping those pages fast on big catalogues.

×
1/1