Wordpress Speed (and other WP related things)

Author: Marcus Quinn

Might regret this, but AMA anything on WordPress speed, scaling, and some debugging clues. I live for speed

How do you vet plugins?

  1. The usual, is it maintained, recently well reviewed, and error free. This Extension can help with that: https://wphive.com

  2. See what other sites use to achieve something, another good extensions for this: https://inspectwp.com/

  3. Test it with this extensions to launch an instance of WP with it: https://tastewp.com

  4. Test performance of all plugins, as loaded from various pages with Code Profiler: https://code-profiler.com

  5. Toggle Query Monitor on for help identifying an issue for clues, toggle off when not debugging: https://wordpress.org/plugins/query-monitor/

  6. Toggle Debug Log Manager on for help identifying an issue for clues, toggle off when not debugging: https://wordpress.org/plugins/debug-log-manager/

  7. Plugin Toggle for faster testing and management of what’s activated: https://wordpress.org/plugins/plugin-toggle/

  8. Anti-Malware plugin is good for checking all plugins for security issues, but don’t leave it active otherwise, as it creates database bloat.

  9. Festinger Vault is good for nulled pro plugins that are all security scanned, if you wanna save cash, and don’t need direct plugin developer support.

What’s the max number of plugins to install?

  1. You can install as many as your server memory and CPU will allow (Query Monitor shows how much RAM each page needs to compile, multiple that by concurrent traffic expected). I’ve build ecommerce sites with over 250 plugins installed, and got <0.5ms TTFB (feels fast to the user) because of plugin unloading, so only what’s needed is loaded on each page. The other limit is just you or developers memory to remember what is doing what, and needs what settings.

  2. The key to front-end speed is knowing how to cache everything that isn’t unique per user. Redis, Page Cache (I like WP Optimize or Super Cache for Cloudflare), and if you are doing WooCommerce, then partial page caching is possible.

  3. The absolute by far biggest different to speed front-end, back-end, and all logged-in pages is plugin unloading. I use and recommend the Freesoul plugin. Just be aware that this can cause self-inflicted bugs when you stop a plugin loading somewhere, but didn’t know it might be needed to load there to work.

  4. Widget Disable is good for anything not needed on the Admin Dashboard or in Sidebars: https://wordpress.org/plugins/wp-widget-disable/

  5. Disable Bloat also good for some things Freesoul doesn’t cover: https://wordpress.org/plugins/disable-dashboard-for-woocommerce/

  6. All the free “Flying Plugins” are good, light, and avoid other larger plugins that do the same but with more interface and advertising bloat.

  7. I like the Complianz, Ts & Cs, Really Simple SSL, Burst Statistics set for what they do. Not found any better for each of those areas.

  8. I Like Admin Menu Editor to keep the backend organised.

  9. Disable update checking, but just remember to deactivate this plugin occasionally so you can see updates, and run them: https://wordpress.org/plugins/disable-wordpress-updates/

  10. I’m finding this my new favourite solution for migrations: https://deliciousbrains.com/wp-migrate-db-pro/

What types of plugins should you never install?

  1. I avoid all the copy-cat vendors, like WPMUDEV and YITH. They try hard enough, but are too spread thin to maintain quality on more complex plugins. Never say never, but would be a last resort.

  2. Anything that saves data to it’s own plugin directory is bad practice, so anyone doing that doesn’t know better, and probably doesn’t know anything else about keeping a WP site secure.

  3. Anything that is just a wrapper for a SaaS product. The whole OptimizePress theme and plugins are really SaaS in a WP wrapper. Kadence theme and pro plugins are most likely the only theme and blocks base I’ll ever work with now, after so many years trying so many others and developing my own forks. Life’s too short to reinvent what they do so well.

  4. I always question the most popular of anything, whether that’s because they spend more on marketing and buying mindshare. Often the best things spend all their time and money on an obsession for doing on thing as perfectly as it can be done before taking on the next.

  5. I loathe monthly subscriptions, so do everything possible to avoid them. Sorry to anyone selling them, I realise it’s a necessary business model for some.

  6. I’m dubious of anything that doesn’t have an open-source version in wordpress.org, as it’s not community vetted.

  7. I find it annoying when plugins obfuscate code, which can always be de-obfuscated. It just wastes time in debugging, and poses a security risk for hidden unexpected functionality.

  8. I’m not a WordFence fan, since most of what it does is done by CloudFlare proxy nowadays, so I see it as bloat.

WordPress is kind of a lifetime commitment to learning it’s ecosystem, but there will always be demand for it, and always demand for quality implementations over the random mess people often get into without knowing all the above.My business model is to make every project somehow an asset for knowledge, templates, reusability.Lastly, highly recommend a MainWP setup if you have many sites to manage. Tried all the alternatives, they are all SaaS, except this one. I don’t like anything that will disable what’s already paid for if I stop paying, so I’ll always choose self-hosted code over SaaS whenever possible.---
Thoughts on these recommendations @Marcus Quinn? https://www.joeyoungblood.com/wordpress-tips/wordpress-technical-seo-guide/---

  • Hosting: Most are good enough. You can get fast on any old cheap hosting. It’s scaling that might want more premium. 90% of people don’t need that. Siteground or similar are just fine.

  • Plugin count: Have as many as you need or want, conflicts are rare. Plugin unloading is essential. He’s recommending AssetCleanup, that would be my second choice, but prefer Freesoul Plugin Unloading.

  • Prefetch: The Flying Pages, Flying Scripts plugins do that for you for free.

  • DNS: Negligible difference unless you’re enterprise level.

  • CDN: Not necessary unless large volumes of traffic.

  • Robots.txt: Feel free to copy mine. Minimal difference.

  • Tags pages: Remove if you don’t populate the Descriptions. Leave there if you can find time to populate the Descriptions for more Topical Authority. Bonus for links within the Descriptions to other Tags/Categories/Pages.

  • Media Attachment Pages: Yeah, probably don’t need those, but no harm.

  • Categories: See Tags

  • Schema Data: RankMath does most of what you’d ever need.

  • AMP: Agreed, that project should die.

  • Images: I use WP Optimize plugin for free image compression.

  • Image Alts: RankMath can automate this from the image file names. Best way to do Image FIle name sis treat them like page titles, eg: “My Dog (English Spaniel) Playing In The Paddling Pool At The House In Vermont.jpg” Then RankMath can reuse that for Title/Alt/Description/Caption. Meow Apps Media Rename Plugin also good, if you have existing images to rename.

  • Headings. Yes. Use the “Detailed” or “headingsMap” browser extensions to check. Think of them as a priority tree/map. Table of Contents still work if with anchor links, John Meuller is a nob for saying otherwise, they are effectively more internal links.

  • .htaccess: Hmmm, I remember something about this, but it’s been a long time since I’ve needed to do anything with it. Cloudron takes care of all of that for me. Low priority.

  • 301 in .htaccess: Hmmm, can’t see that having any significant effect unless you prefer doing that. RankMath Redirections are fine.

  • GSC: Yes, unless it’s a PBN or Partner website you don’t want linked to other sites.

  • Sitemap: Of course

  • Duplicate content: I don’t worry too much, but then don’t have any particularly.

  • 404s: Yeah, housekeeping, tidy house, tidy mind.

  • Fix not indexed: Yes

  • Helpful: Put the answer to the main queries at the top of the page.

Good article overall. I bet 99% of people have never heard of plugin unloading, and it would be the single biggest factor they can make for speed and not being limited for number of plugin features deployed.

I’ve designed and developed websites for as long as there’s been websites, and the one thing I would say to anyone without an enterprise team: Avoid custom themes and plugins. Just pick one theme (Kadence) and work with what that can do. Keeps your focus on content and simplicity. Very little you can’t build with it.

If you want to customise CSS that Kadence somehow or a plugin doesn’t have an option form use the “Yellow Pencil” plugin.

Everything I say is to save me, you, anyone I know T I M E !!! There’s many ways to do things. In my experience, in always looking for the fastest way to do anything, the above does that, because, damn, do you need a lot of time for the concepts, niche research, and content to be worth ranking!!

---

Monster reply! Agreed overall, get the big 80-20 wins for speed. Doesn’t have to be 99 on PageSpeed Insights. For the user, anything in the low 90s is great.

---

NP. 100% scores are possible with Kadence + Plugin Unloading + WP Optimize. Plus following a few of the tips in PageSpeed. This site has 128 plugins at the mo: https://www.evergreen.je/website-speed-test/ I only did that to prove the point. I don’t over-optimise all sites.