HTMl minifying software

Discussion in 'HTML & Website Design' started by Gauravsaini, May 18, 2016.

  1. #1
    How to minify HTML file on WordPress site.
     
    Solved! View solution.
    Gauravsaini, May 18, 2016 IP
  2. #2
    You need a Wordpress HTML minify Plugin for minify your all HTML file. When you install your plugin in your website all HTML file compress.
     
    Sachinsood90, May 18, 2016 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Minifying HTML serves next to no actual purpose. The HTML, minified or not, shouldn't be more than a few kB, and minifying it shouldn't really do anything useful, especially if you're minifying it "on-the-fly" with a plugin - that will just increase the load-time.
     
    PoPSiCLe, May 19, 2016 IP
    sarahk and deathshadow like this.
  4. Puntocom81

    Puntocom81 Banned

    Messages:
    80
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    35
    #4
    I fully agree with PoPSiCLe. If you stick to wordpress, the less plugins the better. If you use caching, I recommend to run it outside Worpdress (In my wordpress times I got nice results using redis.io, the plugin is only a few lines).

    If you need to minify HTML, surely you are doing something wrong. It also difficults debugging.
     
    Puntocom81, May 19, 2016 IP
  5. Awwab Tahir

    Awwab Tahir Member

    Messages:
    13
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    33
    #5
    If you are using WordPress & need high page speed. Consider using some good dedicated WordPress hosting or CDN. Using minifying plugins usually creates problems.
     
    Awwab Tahir, May 21, 2016 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    I've said for years that if you "need" to use minification, particularly on your markup, there is something dreadfully, horribly, and terrifyingly wrong with said markup.

    But you said you're using turdpress, so that's a given. When you're using three to five times the HTML needed in the first place, minification is just sweeping shitty code under the rug.

    ... and boy, do turdpress templates vomit up some shitty, bloated, inept code. MORE so if you're dumb enough to slap the steaming pile that is bootcrap and jQueery atop it.
     
    deathshadow, May 23, 2016 IP