How to optimize wordpess site ? – Remove resource limit reached 508 error or 503
You may have faced 508 error, resource limit is reached when opening your website or blog. This problem mainly arise due to limited resources that is associated with your account in shared hosting plan. When your limit exceeds you may face critical downtime problem. When there is heavy traffic and your site load is high enough, you may hit the resource limit and your site becomes down. However, if your traffic goes down, your site automatically starts to behave naturally. If load is very high you may face continuous downtime and this may frustrate you. You may move to virtual private server (VPS) to remove the resource limit or if you want to stay in shared hosting you have to optimize the site to reduce server load.
Optimization of wordpress includes making changes to wordpress that will reduce the server load when people visit your site. You have to follow simple steps to maximize your site performance. You can also check your website performance before and after optimization so as to compare your result.
Simple steps to optimize wordpress website / blog – Maximize the performance of wordpress :
- Go to Google PageSpeed Insights , enter your website address and check your website score.
- Download w3 total cache plugin and enable it. You should remove previous caching plugins like wordpress super cache if already installed. W3 total cache is best caching plugin for wordpress and many sites are using it because it offers various and latest features.
- Now go to w3 total cache setting page and enable various caching options :
Page cache: Enabled
Page cache method: Disk Enhanced
Browser Cache : Enabled
This method optimize all scripts and styles, minifies and compresses them, adds expires headers, caches them, and moves styles to the page head and can move scripts to the footer. It also minifies the HTML code itself, making your page really lightweight.
You can check the minify option in w3 total cache to minify your scripts, html, and css.
- Download WP Smush plugin to smash the images in your wordpress media library. Smushing images can reduce your image size to 10-15% and this will reduce your server load.
- Download WP-Optimize plugin to optimize your website database, revisions and tables etc on regular basis.
- Download security plugins to eliminate hackers and spammers who can insert malicious code which may drag your website speed. You can install itheme security or wordfence security and set lockdown option to lock users and bots who try to login in your dashboard continuously. This may reduce your server load.
- Delete unnecessary plugins, You can install P3 (Plugin Performance Profiler) to check the plugin performance and delete the plugins which cause heavy load to your site.
- Activate Akismat plugin to reduce spam comments.
- Reduce the number of ad banners as they may reduce the site performance.
- Install Sucuri Security – Auditing, Malware Scanner and Hardening and Theme Authenticity Checker (TAC) plugins to keep checking infected themes and plugins.
- You can install Lazy Load Plugin. This plugin will load the image when visitor is viewing it, it means image will not load until an user has scrolled down to a particular image. This method will increase your site speed as all images are not loading simultaneously. This is best for site dealing with large number of images.
- Enable Compression. You can enable gzip compression from your control panel dashbord. This may reduce site speed as compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
After optimizing your site go back to Google PageSpeed Insights and check your site performance again. You will see that your site speed has increased. Congrats you have optimized your website.