• Resolved christoph-ED

    (@webagenturerding)


    I have an issue with performance.
    I often use the plugin and feels really good.
    But this time i have page where the visitors 99,9% are logged in.
    And if the logged in the site is very slow.
    If i disable the plugin it is much faster.
    I also see this in the query monitor.

    So is it possible to fix it or in other way if there are just logged in members i can disable it?

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @webagenturerding thanks for letting me know about this! Asset CleanUp doesn’t deal as well with non-cached pages because it takes time for it to process all the rules you set (usually between 0.15 and 0.20 seconds). That’s why it works best with a caching plugin with guest users. Asset CleanUp does have a caching mechanism for CSS/JS files to be read quicker (if they are already optimized, it won’t spent time re-optimising them), but it doesn’t have page caching for logged-in users. That’s what plugins such as WP Rocket offer.

    There’s no feature to disable the plugin for logged-in users (although you gave me an idea). However, you can do that using a MU plugin with is_user_logged_in(). I suppose you want to have it deactivated whenever a non-admin is logged-in, but keep it active for logged-in admins and whenever you access the Dashboard. Let me know what you would like and I can prepare a PHP snippet that you could put in /wp-content/mu-plugins/ in order to achieve your goal.

Viewing 1 replies (of 1 total)
  • The topic ‘Performance when logged in’ is closed to new replies.