• Resolved Kowsar Hossain

    (@kowsar89)


    I use this plugin in all my websites. Great one! But I only miss one feature.

    I just want to allow the minification feature without combining, Is it possible? Is there any hook to disable the combine feature? Can you add this option in next update?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, finally someone asks ??

    add_filter('autoptimize_filter_js_dontaggregate','__return_true');
    add_filter('autoptimize_filter_js_minify_excluded','__return_true');

    the first filter tells AO not to combine JS, the second one tells it to minify non-combined JS. the same filters exist for CSS as well, obviously.

    have fun with these!
    frank

    Thread Starter Kowsar Hossain

    (@kowsar89)

    It would be great if you make these options available from admin panel in future release, maybe in advanced section.

    This is what i want to achieve:
    1. CSS minification(without combine)
    2. JS minification(without combine)
    3. HTML Optimization(Right now with these filters you mentioned above, applying them dosn’t optimize inline css and js inside html anymore)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    It would be great if you make these options available from admin panel in future release

    who knows, one day ??

    in the mean while I’m doing some other additions, cfr. this blogpost and this github repo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Don’t want to combine’ is closed to new replies.