Title: Minify HTML only
Last modified: June 16, 2021

---

# Minify HTML only

 *  Resolved [financialcalculators](https://wordpress.org/support/users/financialcalculators/)
 * (@financialcalculators)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/minify-html-only/)
 * My build process minifies my site’s CSS and JavaScript. I don’t want to change
   that.
 * Is there a way to set W3 Total Cache to automatically minify ONLY the HTML? TIA.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/minify-html-only/#post-14562033)
 * Hello [@financialcalculators](https://wordpress.org/support/users/financialcalculators/)
 * Thank you for reaching out.
    Yes, you can only use HTML Minify. Before activating
   the Minify in the General settings, go to Performance>Minify and Enable HTML 
   to minify under HTML&XML, and make sure to disable JS minify settings: and CSS
   minify settings: Save all settings and go back to Performance>General settings,
   enable Minify, save all settings and purge the cache. Thanks!
 *  Thread Starter [financialcalculators](https://wordpress.org/support/users/financialcalculators/)
 * (@financialcalculators)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/minify-html-only/#post-14564980)
 * Thank you. In my case, minifying the HTML and inline CSS and JavaScript on my
   home page reduced the size by a third, or by nearly 30k.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/minify-html-only/#post-14567139)
 * Hello [@financialcalculators](https://wordpress.org/support/users/financialcalculators/)
 * You are most welcome!
 * We would really appreciate it if you could take a minute and post a review [here](https://wordpress.org/support/plugin/w3-total-cache/reviews/).
   This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Minify HTML only’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [minification](https://wordpress.org/support/topic-tag/minification/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/minify-html-only/#post-14567139)
 * Status: resolved