Title: Wastefully enqueuing css
Last modified: May 17, 2026

---

# Wastefully enqueuing css

 *  [MichaelApproved](https://wordpress.org/support/users/michaelapproved/)
 * (@michaelapproved)
 * [3 weeks ago](https://wordpress.org/support/topic/wastefully-enqueuing-css/)
 * The plugin wastefully enqueues files. For example, “/wp-content/plugins/mailchimp-
   for-woocommerce/blocks/build/style-sms-consent-block.css” is enqueued when SMS
   is not even enabled sitewide.
 * At the very least, you should only be enqueuing the script if the feature is 
   enabled. Best would be to only enqueue it on a pages that have related elements,
   such as checkout page.

Viewing 1 replies (of 1 total)

 *  Plugin Support [KJ](https://wordpress.org/support/users/kjvextras/)
 * (@kjvextras)
 * [2 weeks, 6 days ago](https://wordpress.org/support/topic/wastefully-enqueuing-css/#post-18911295)
 * Hi [@michaelapproved](https://wordpress.org/support/users/michaelapproved/) thanks
   so much for layup – Taking this back to the team for better optimization. We 
   appreciate you.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwastefully-enqueuing-css%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/mailchimp-for-woocommerce/assets/icon-256x256.png?rev=1509501)
 * [Mailchimp for WooCommerce](https://wordpress.org/plugins/mailchimp-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [KJ](https://wordpress.org/support/users/kjvextras/)
 * Last activity: [2 weeks, 6 days ago](https://wordpress.org/support/topic/wastefully-enqueuing-css/#post-18911295)
 * Status: not resolved