How do I speed up a WordPress website?

How do I speed up a WordPress website?

  1. use caching like W3 total cache.
  2. Remove unused plugins. Every plugin hooks into the loop — a series events that start with loading up dependencies to connecting to the database to making calls (some to the database, some to third parties, some doing calculations)… all depending on what a given plugin is doing. Concluding in sending the buffered output to the requesting browser.
  3. optimize your images (make sure they aren’t huge) … using the developer console in your web browser … flip over to the network tab. Hard refresh with cache disabled and see what’s taking so long to load. That’s goig. To be your best indicator of what’s causing your site to feel slow outside of the page just being slow to compile during the loop.
  4. offload things to a CDN (also configurable in #1).
  5. disable plugins one by one if your server response time sucks (long time during the loop). That approach can identify a specific culprit to evaluate further.
  6. hire someone to code-review the poorly performing plugins. Or, if you’re brave … do it yourself using tools like XHprof or new relic APM.
  7. get off WordPress — or any dynamic content management system for that matter. Imagine if every time you you wanted to go to the store you had to have a brand new car built for you. That’s how every request in WordPress works. Every request is new, every request requires class construction, connections, iterating through internal loops … etc. it is painfully slow. If you can instead create a static site (built once, read many times) then it’s very fast. That would be done using an HTML template (think Theme), some content files, and a command-line tool called Jekyll. There are of course downsides to this approach and doesn’t fit most use-cases… but if maximum performance is the name, then static sites are the game.

By: Next Page
Share:
For post a new comment. You need to login first Login