Checklist of Best Practices for Performance Optimization

  October 24, 2019

Speed is one of the most important parts of the user experience. According to Neil Patel, a one-second delay in page response can result in a 7% reduction in conversions and a 16% decrease in customer satisfaction. Nearly half of consumers expect a web page to load in two seconds or less — and these expectations are getting higher every day.

In addition to the user experience, Google includes speed as a factor when ranking search results. Anyone that relies on organic search traffic should optimize their website's speed in order to avoid penalties and maximize their rankings. Publishers and other content-heavy websites could be experiencing a significant penalty for slow loading times.

Use these checklist items to help identify areas where you can improve the performance of your web application.

  • Integrate load tests into your Agile development process using LoadNinja or another tool in order to identify bottlenecks before they become an issue in production.
  • Add a content delivery network, or CDN, to distribute cached files across servers around the world to improve speeds for international visitors and users.
  • Minify and compress HTML, JavaScript and CSS files to reduce the amount of data that needs to be transferred with each request.
  • Optimize image sizes to be appropriate for the use case and convert any icons into vector formats to improve resolution and reduce file size.
  • Implement server-side caching to reduce the number of requests hitting the database and dramatically improve speed for search queries and other use cases.
  • Identify problematic SQL queries or other database commands and refactor them to be more efficient, including N+1 queries generated by ORMs.
  • Use prefetching techniques to predict what actions users are about to take and initiate the loading process before a user begins the transaction.
  • Implement monitoring solutions to detect 404 and other errors that could be adversely impacting your website’s performance and the user experience.

Start performance testing your web application today with LoadNinja. Sign up for our 14-day free trial.