You check your own site while logged in to WordPress, and every page takes a few seconds. You ask a friend to try, and for them it is quick. You log out, open the same page, and it is quick for you too. Log back in, and it is slow again. The site is fine for everyone except the people who run it.
Having WordPress slow when logged in, yet quick for everyone else, is normally expected behaviour rather than a fault. Logged-in users are usually served a different, uncached version of every page, plus some extras. This matters most when the logged-in users are not just you and your staff, but customers and members.
One note on scope: this is about the public pages of your site as seen by a logged-in user. If it is the dashboard itself, the screens under wp-admin, that is slow, our post on why the WordPress dashboard is slow covers that separately.
What changes the moment you log in
The page cache steps aside
Most WordPress sites are fast for visitors because of page caching: the first visit builds the page and saves a copy, and everyone after that gets the copy. The way a page cache works, and what it deliberately leaves out, is set out in how page caching works in WordPress.
When you log in, WordPress sets a login cookie in your browser. Caching plugins and server caches look for that cookie and, when they see it, skip the cache and let WordPress build the page fresh. They do this on purpose. A logged-in user may see things nobody else should: their name, their orders, an edit link, draft content, prices for their customer group. A shared cached copy could show one person’s page to another.
So a logged-in user gets the full cost of building every page: PHP runs, the database answers every query, and every plugin does its work. A site that hides a lot of slow work behind its cache suddenly shows all of it.
The admin toolbar loads
The black toolbar at the top of the page is not free. It brings its own styles, scripts and icon font, and plugins add their own menus to it. Some SEO, caching and analytics plugins put live information in the toolbar, which can mean extra database queries or even outside requests on every page you view.
Plugins behave differently for you
Page builders load front-end editing tools for users who can edit. Membership and learning plugins check access rules and progress for each logged-in user. Shops load cart and account details. Some plugins run extra checks only for administrators, such as licence notices or update prompts. All of it happens only when someone is logged in.
Fast for visitors, slow for admin users: how to confirm it
A short set of checks tells you whether the cache bypass is the whole story or whether something else is going on.
- Compare logged out and logged in. Open a page in a private window (logged out) and in your normal window (logged in). Note the server response time for each in the browser’s network panel. A big difference in that first request points to the cache bypass and the work done on uncached pages.
- Check the cache header. Click the first request and look at the response headers. Many caching setups add a header that shows a hit or a miss. Expect a hit when logged out and a miss or bypass when logged in.
- Turn off the toolbar. In your user profile, untick “Show Toolbar when viewing site” and reload. If the page becomes noticeably quicker, the toolbar and the plugins that hook into it are part of the cost.
- Try a less powerful account. Create a test user with the Subscriber or Customer role and log in as them. If pages are quick for that user but slow for you as an administrator, the extra cost is in admin-only features.
- Compare pages. If only some pages are slow when logged in, look at what those pages include. A page with a heavy form, a product configurator or a live feed will suffer most when it cannot be cached.
WordPress slow when logged in, but only for staff
If the only logged-in users are the owner and a couple of editors, some slowness is a reasonable trade for content that is always up to date. Still, a few things make daily work less painful:
- Hide the toolbar on the front end for users who do not need it.
- Check what plugins add to the toolbar and turn off live panels you do not use.
- Look at the server response time for uncached pages. If it is several seconds, visitors on uncached pages are getting that too, which is a bigger problem than your own convenience.
- Check the site’s speed as a visitor would, logged out in a private window, before deciding the whole site is slow.
That last point matters more than it sounds. It is easy to spend money on speed work because the site felt slow to you, while visitors were getting cached pages all along. If logged-out visitors find the site slow as well, the cause is wider, and the symptom-by-symptom triage for slow sites is the place to begin.
When customers and members are logged in too
Here the same behaviour stops being a convenience issue. On a membership site, a learning platform or a WooCommerce store where customers log in, every logged-in customer is browsing uncached pages. If they make up a large share of your traffic, they are getting the slow version of your site, and it is your best customers who see it.
Stores have a related wrinkle. Even before logging in, a shopper who has added something to their cart usually gets a session cookie that makes some caches bypass pages for them. That is the correct behaviour on cart and checkout, and the detail of which pages must stay uncached is covered in caching WooCommerce cart and checkout safely.
Making the logged-in experience faster
Because the page cache is out of the picture, the work is in making uncached pages cheaper to build. Each of the steps below has its own section in our website loading speed guide; here is how they apply to logged-in users.
Add a persistent object cache
An object cache saves the results of database queries between page loads, so repeated questions do not have to be asked again. It helps uncached pages, including logged-in ones, more than cached ones. It needs support from your host. The post on Redis object caching for WordPress explains what it helps and what to ask your host.
Reduce the work each page does
Find out which plugins add the most queries or the slowest outside calls on the pages your customers use. A plugin that does something only for logged-in users, such as recalculating a member’s progress on every page, may have a setting to do it less often.
Consider caching for logged-in users, carefully
Some caching plugins, including LiteSpeed Cache and WP Rocket, offer options that cache pages for logged-in users in some form, for example a separate cached copy per user. This can help sites where logged-in pages are mostly the same for everyone, but it needs testing: account pages, carts, prices for customer groups and anything personal must still be correct for each user. Read what the option does before switching it on, and test with two different accounts.
Check the hosting resources
If many users are logged in at the same time, every one of their page views needs the server to build a page. That uses processing capacity that a cached site never touches. A plan that is comfortable for a brochure site may be too small for a busy membership site.
Frequently asked questions
Will an object cache also speed up wp-admin?
It often helps, because dashboard screens are never page-cached and repeat many of the database queries an object cache can store. It will not fix everything: slow plugin screens, heavy dashboard widgets and outside requests made by plugins are separate causes. Check with your host that Redis or Memcached is available before installing a plugin for it.
Why is the site still slow for me after I log out?
Your browser may still hold cookies that make caches step aside, such as the ones WordPress sets after you leave a comment or WooCommerce sets when you add something to the cart. Caching plugins usually bypass the cache for those too. Test in a private window, or clear the cookies for your site, to see what a fresh visitor gets.
Why does hiding the admin toolbar make pages load faster?
The toolbar loads its own files, and plugins often add menus with live data such as SEO scores, cache controls or notifications. Building those can mean extra database queries or outside requests on every page. Hiding the toolbar removes that work for your account.
Should my staff log out before checking how fast the site is?
For speed checks, yes. A logged-in browser bypasses the cache and loads extra tools, so it shows a slower site than visitors get. Use a private window, or a separate browser where nobody is logged in, whenever you want to see what a visitor sees.
Uncached pages are where database cleanup, script trimming and a look at server response time count for most, and all three are part of our speed optimisation service. You see the audit and a prioritised list before anything on the site changes.
Next in this series: Homepage Loads Slowly? Why Only the Home Page Is Slow