• Resolved apedog

    (@apedog)


    I use your plugin not only for minification on my production site, but also while debugging on my developement site. Specifically to view all links and srcs without the host and scheme, and my code without the comments.

    I’d like an additional option to ONLY disable html minification without disabling the entire plugin.
    ie. I’d like an option to keep js and css minification, comment removal and relative urls and ONLY disable HTML minification.
    That way I can view my HTML properly formatted.

    So the top two options would be:
    Disable plugin: [x]Enable [ ]Disable
    (Enable or disable plugin)

    Minify HTML: [x]Yes [ ]No
    (This option typically set to ‘Yes’)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tim Eckel

    (@teckel)

    Wouldn’t developer tools be a better way to view HTML as it also formats it?

    Thread Starter apedog

    (@apedog)

    Developer tools are interactive and are manipulated by scripts.
    I sometimes need to just look at printed source.

    I use your plugin on my dev site to strip away server_names and http/s from permalinks when working on my routing.
    So I can see exactly which routes and which assets are used (e.g. only show links as /wp-content/uploads/my-item.jpg or /front/slug )
    It would be helpful if I could keep the html formatted (in view:source) while being able to strip comments etc.

    So you would have one option to enable/disable entire plugin
    And a yes/no option to compress html (independent of the other options)

    That’s the suggestion/request anyway.
    Do you have this plugin on github?

    Plugin Author Tim Eckel

    (@teckel)

    I see what you mean and will look into it.

    Unfortunately, all WordPress plugins here use subversion instead of Git at all, let alone GitHub. I would personally much rather prefer GitHub as that’s where I do all my non-WordPress development. But, unfortunately it’s not the WordPress way. I know, seriously, they use subversion version control! Not much you or I can do about it. But, the plugin is in version control with WordPress via subversion, which you can pull and look at the source, etc. if you wish.

    Tim

    Hey @teckel this might be of interest to you and save you from subversion:

    https://wptavern.com/deploy-wordpress-plugins-from-github-to-the-wordpress-org-plugin-repository

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feature request: add another disable option’ is closed to new replies.