• Resolved Fropky

    (@fropki)


    Hi,

    Current if we enable HTML minify (with preserving html comments). Autoptimize try to minify everything in a single line. Is there any better way to minify which is much readable? like every html code in a single line than next html code in next line and so on?

    • This topic was modified 5 years, 9 months ago by Fropky.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, minify removes as many line-breaks as possible. but if you need the source readable you can always add ?ao_noptimize=1 to the URL to see the page without AO?

    hope this clarifies,
    frank

    Thread Starter Fropky

    (@fropki)

    No I want to make it more user friendly. Especially for GA script and Adsense Script.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, then you could hook into the autoptimize_html_after_minify filter and do whatever magic you want with a couple of lines of PHP-code? ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Readable HTML Minify’ is closed to new replies.