Title: Performance when logged in
Last modified: March 5, 2020

---

# Performance when logged in

 *  Resolved [christoph-ED](https://wordpress.org/support/users/webagenturerding/)
 * (@webagenturerding)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/performance-when-logged-in/)
 * 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](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/performance-when-logged-in/#post-12511609)
 * [@webagenturerding](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/performance-when-logged-in/#post-12511609)
 * Status: resolved