A Complete Checklist for Your Drupal Website Performance
If you have developed a website using Drupal, you should test it for performance and stability. This will allow you to extract maximum juice out of your Content Management System and ensure that it performs at its optimum best. Here in this short write-up we shall share with you a complete checklist that helps in tuning your site to derive maximum mileage from it.
- Caching – Start by enabling block cache as the blocks which don’t change among users can be cached and served. Along with this also enable Drupal cache for anonymous users. However use this only if you aren’t using any other front-end cache tool.
- Views Caching – It is surely the most use Views module as far as displaying content to the website is concerned. To get the best out of this you need to cache the Views instances. This should be cached to ensure that a cached copy returns instead of having to rebuild the preview.
- Content Cache – If your site sees rare addition or modification of the content, you need to make use of this cache. This will help in expiring Views every time content is inserted or modified.
- Install Front-End Cache – It is quite similar to Views and stores HTML response in memory. When the user request for the same page it is returned from the HTML memory instead of going all the way up to the web server and PHP.
- Distributed Cache – By installing the distributed cache you would be able to cache tables of your database in memory or file. By default Drupal creates and uses its own cache and stores it in database in tables. With distributed cache you will be able to store these caches in memory or file.
- Modules – Disable any unused and non-essential modules as they consume additional server resources and slow down your website. Unless required disable the Statistics module as it tends to write on the database for every visit and instead switch to Google Analytics.
- Content Delivery Networks – Make sure you are caching static content in the form of CSS, JS, fonts, files and images and also start using a Content Delivery Network. There are many options at hand including AWS Cloudfront, Akamai, or Cloudflare as they speed up the load time of your website substantially.
- Disable Cron – Another way to improve your Drupal site’s performance is to disable the automatic cron and instead run a proper cron job. You also need to make sure that your users don’t run periodic tasks before they see content.
- Optimize Images – Oversized and heavy images often tend to hurt your site performance and you should reduce their size. There are several ways of doing it and these include ImageAPI Optimize module, opting, jpegmini, jpegoptim and many others. Also you can try converting some of the non-transparent jpg and png images into smaller sized jpg.
- Speed Up DNS – A typical DNS request takes anything between 50 ms to 200 ms as the user’s’ browser contacts a DNS service to find the IP address. AWS Route 53, DNS Made Easy, Akamai, Dyn and Neustar UltraDNS are some of the tools that help you speed up DNS request and improve site performance.
- Responsive Images – If you want your mobile users to save on their bandwidth by downloading smaller images use the Picture module. This can significantly reduce the page load time for sites browsed using small screen devices.
These are some of the best ways in which you would be able to fine tune your Drupal website and get the maximum out of it. There are many other things that you can do based on your specific interests.
Markupbox provides a range of Drupal services for your Drupal project. Services ranging from custom design implementation to providing a SEO semantic markup and integrating Drupal modules, the expert teams provides markup services that are quick and reliable. The company follows an Agile methodology and is known to ensure timely delivery of the project every single time.
Image Source : baryonmedia.com