InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Wordpress performance

  • Embed youtube video with on-click lazy loading
  • How to Preload cache in wordpress on Linux
  • How to remove jquery-migrate.js from wordpress
  • How to use wordpress facebook plugin comments box with lazy loading
  • Performance tips for Wordpress site
  • w3 total cache for wordpress
 
  • Home
  • > Tutorials
  • > Wordpress
  • > Wordpress Performance

Tips on improving the performance of your WordPress blog or site

By admin | Last updated on Apr 29, 2016

WordPress is a great blogging platform and there are plugins for pretty much everything you need. But with too many plugins it affects the performance of your blog. Here are some quick tips on improving the performance of your blog.

  1. Many plugins introduce their css and javascript file on every page. These may be needed on a very specific page. e.g. I tried some “contact us form” plugins and these were inserting js and css on every page when I was using them only on one page. Its best to not use such plugins.
  2. Use chrome extension page speed insight to check performance of your site. Here are some screenshots from it.
    page-speed-plgin-start-screenpage-speed-result-screen-1Page speed is an indispensable tool for every webmaster.
  3. Reduce image size of all your png images. At least reduce the size of common images like icons, logo etc. I tried couple of tools to achieve this.
    1. ImageAlpha it is for mac os. It works great and compresses png upto 80%.
      ImageAlpha-image-reduction
    2. pngquant: I tried it on linux and it also works great. It is great for doing image reduction in bulk. You can write a small bash shell script and do bulk image reduction
      Here is sample usage

      pngquant 128 file.png
      (This will produce file-fs8.png)

      128 is number of colors. It can be as low as 8. Depending upon the type of image you can change it and see what works best for you. I generally use 64, 128 or 256.

    3. tinypng Its an online cloud based drag and drop portal to reduce png image size. Its pretty easy to use and does a great job.
  4. Look at the theme you are using. Some themes enqueues javascript and css which are never used by you. It may be a good idea to check all the css and javascript on a single page and see what needs to be dequeued.
  5. Use w3-total-cache wordpress plugin. It has tons of features and it may take some time to get a hang of it. Some things you should do with it
    1. Enable page cache on disk (or in memory using memcache or apc if data is not too large and can fit in memory). If there is a code which needs to be rerun every time (e.g. if you some something based on IP address of client), then this option should be either not used or we should disable it for such pages from page cache options.
      w3-total-cache-never-cache-option
    2. Use db and object cache. You can use memcached for it. Note that this may not add much value if you are using memory cache for pages. Here are the steps to install memcache on Ubuntu Linux
      sudo apt-get install memcached
      sudo apt-get install php5-memcache
    3. Enable minify cache.
    4. Enable browser cache. This compresses the content and also adds the expires headers which helps client to cache static content for some time.

    There are many more advanced options. But I believe these are good for starting.

  6. For very frequently used images it is better to specify height and width. This make browser’s job easy during rendering.
  7. Avoid heavy social media plugin. These load stuff which many people won’t use. You can just put links which don’t need any javascript and css.
  8. Using too many domains is also bad for user due to DNS lookup delay.
  9. For small css, it is better to use it inline instead of external file

Why should you care about WordPress site performance and speed

  1. Improving wordpress performance helps in SEO. High performance sites ranks better in search engine.
  2. It is good for users. Users tend to leave slow sites.
  3. It saves your hardware resources also. For same hardware specification, you can server more users.

Suggested posts:

  1. How to remove jquery-migrate.js from wordpress
  2. How to use Google custom search with lazy loading approach
  3. How to upgrade EC2 Ubuntu Linux micro instance to small
  4. How to convert HTML canvas to png image using javascript
  5. How to and why disable wordpress cron
  6. Php apc vs memcache
  7. Ssh automation on Amazon EC2 Ubuntu Linux
  8. How to create Linux instance on Amazon AWS/EC2 Classic
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Memcache, Page Speed, Site Performance, Tutorials, Webmaster, Wordpress, Wordpress Performance
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress