• Resolved financialcalculators

    (@financialcalculators)


    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

    (@vmarko)

    Hello @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

    (@financialcalculators)

    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

    (@vmarko)

    Hello @financialcalculators

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. 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.