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

    (@optimizingmatters)

    it’s safer and admin area perf. has no impact on sales (conversion) or seo ??

    Thread Starter akonstantinos81

    (@arkon81)

    It has an impact though in time spent in the admin area by the managers.

    I did read in the code after trying to hack into the plugin that you only buffer the frontend requests.
    So, as I believe it safer not to hack deeper, I wonder if there is a hook or an API call somewhere that I can use to join-minify the static files in the admin area that I consider safe to be joined.

    Thanks for your answer in any case!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, by default WordPress does join files in the admin area, see load-styles.php and load-scripts.php, but that does not work on all JS/ CSS. I did a quick search but have not found a way to add scripts/ styles to those, but maybe you’re more patient when searching? ??

    Thread Starter akonstantinos81

    (@arkon81)

    I considered the same option but then I recalled that this is reported as a security matter by my hosting and suggests me to disable the scripts concatenation.

    I am sure there is at least a non standard way I can achieve this with your plugin but I will not give high priority for now as I need to finish the project first.

    Thank you very much.
    P.S Great plugin!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I considered the same option but then I recalled that this is reported as a security matter by my hosting and suggests me to disable the scripts concatenation.

    yeah, read about that while researching this topic yesterday, see https://bjornjohansen.no/load-scripts-php. pretty low-risk security issue in my book though ..

    I am sure there is at least a non standard way I can achieve this with your plugin but I will not give high priority for now as I need to finish the project first.

    well, if you’re not afraid of breaking things you could try removing the is_admin() check in autoptimizeMain.php on line 345? ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why Autoptimize does not join-minify files in admin area?’ is closed to new replies.