Guide to improve speed & performance of your Laravel Site

Making a fantastic website or web application using Laravel is becoming increasingly popular as the Laravel Framework grows in popularity. Because Laravel is not a CMS like WordPress, Drupal, or Zoomla, so we can’t obtain ready-made plugins to improve our application in a few clicks, but it does come with a lot of speed optimization capabilities out of the box to help you speed up your website or web application. It’s for you, if you’re looking to speed up your Laravel website. In this post, I’ll walk you through few a steps to improve the speed and performance of your Laravel website.

  • HTML minification
  • Caching (Route, Config, Query Caching)
  • Bundle & Minify CSS/Js
  • Optimize images
  • Use eager loading wherever possible
  • htaccess optimization
  • Faster web hosting server
  • Use a CDN
  • Get rid of any packages that aren’t needed or wanted
  • Use the latest version of PHP / Laravel
  • Make use of the queues
  • Remove Unused Service
  • Classmap Optimization
  • Composer Optimize Autoload
  • JIT Compiler
  • Precompile Assets
  • Use APM to analyze & optimize your site…..

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store