WooCommerce plugins and page weight: what to check

Plugins often load their scripts on every WooCommerce page, whether needed or not. How to spot the heavy ones and limit where they load.

T The CROMagnet team, Store audit research 2 min read Updated

WooCommerce gives you a lot of freedom and leaves you with a lot of responsibility. One example: by default, WordPress lets each plugin load its stylesheets and scripts on every page. A sliders plugin loads on pages without sliders. A form plugin loads on pages without forms. Over time, product pages carry code that has nothing to do with buying.

Find out what loads

Open a product page in Chrome with DevTools, go to Network and reload. Filter by CSS and JS. File paths for WordPress plugins contain /wp-content/plugins/, followed by the plugin's folder name, so you can see which plugin owns each file.

Make a table:

Plugin Files Total size Needed on this page?
Slider plugin 4 380 KB No
Contact form plugin 3 150 KB No
Reviews plugin 2 90 KB Yes

Even a rough version tells you where to start.

Options to limit where code loads

Use the plugin's own setting

Some plugins have an option to load assets only where their content appears. Check each heavy plugin's settings first, since this is the safest route.

Use an asset manager

Plugins exist that let you disable specific scripts and styles page by page, or by page type. Disable a plugin's files on the product page, test the page carefully, then repeat. Always test the cart and checkout afterwards, since removing something they need breaks them.

Replace the plugin

If a plugin is heavy and does something simple, consider whether a lighter one, or a small snippet, would do the job.

Do not forget the database and hosting

Page weight is only one part. Slow responses can also come from the server. A store with thousands of products and slow hosting will answer late whatever you do to the front end. Use a caching layer suited to WooCommerce, which must not cache the cart or checkout pages, and consider hosting that is built for it.

Clean out unused plugins

Deactivated plugins still sit on the server and can still be a security risk. Delete the ones you do not use. Updating the rest keeps compatibility with the current WooCommerce version.

Review regularly

Every time you add a plugin, check the effect on a product page's load. A fifteen-minute review each quarter prevents the slow build-up that most stores suffer.

An audit shows which plugins carry the most weight on your pages, so the table above is already started.

Check your own store

Run the audit on your store

200+ checks in under two minutes. Free, no signup.