- Your hosting should be capable to respond quickly. Response time will be vary based on server i.e. server response time of Apache is differ
- Your hosting should be able to handle multiple requests at a time. It should be slow down while there is heavy traffic.
- A theme which you select for your WordPress site is also responsible for the performance of your site.
- Your theme should be lightweight and quite speedy.
- The theme should not unnecessary images in theme, all image should be optimized.
- A number of files should be less to display the page on your site. For that, we need to combine multiple CSS into a single file. The file should be optimized.
- Caching is the process of storing data in cache memory.
- Cache is a temporary storage area. Whenever you request for a page first time, it will save it in the cache memory and then second time onwards server will serve this page from a cache memory. By this way, it will save your execution time and network burden of additional traffic.
- Your site should have a way to optimize an image. If user uploads image with heavy file size, then it will affect your page load time. So as a solution, you should have installed a plugin which will optimize an image to reduce file size not reducing quality.
- There are many plugins available for this like Wp-SmushIt, Optimus, etc.
- You just need to add following code in your root .htaccess file:
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
- LazyLoad is the process of having only the images visible in the visitor’s browser window, then, when reader scrolls down, the other images begin to load, just before they come into view.
- As a result, it will increase your page load time as well as it will save your bandwidth because you are loading less data for users who don’t scroll all the way down on your page.
- There are many plugins available to implement this functionality, like jQuery Image LazyLoad, Lazy Load, etc
- Hotlinking means, you are loading content from another site like google fonts, some images etc.
- This will increase your bandwidth and page speed.
- To overcome this situation, load content as much from your site only. Download external content in your site and load it from there.
By doing this it will not load assets( like CSS, js, etc) of that plugins in your page or it will not perform and process which plugins does before page load.