Enlightn
Home (opens new window)
Github (opens new window)
Home (opens new window)
Github (opens new window)
  • Getting Started

    • Installation
    • Configuration
    • Running Enlightn
    • Github Bot Integration
    • Web UI
    • Contribution Guide
    • Support
  • Performance Checks
  • Security Checks
  • Reliability Checks

# Performance

Enlightn has 37 automated performance checks (including 19 Enlightn Pro checks).

# 🚀 Performance Quick Wins (In-Built)

  • Autoloader Optimization
  • Config Caching
  • Route Caching
  • View Caching
  • Event Caching PRO

# ⏳ Performance Bottleneck Identification

  • Unused Middleware
  • Unnecessary Collection Calls
  • Slow Queries PRO
  • Duplicate Queries PRO
  • N+1 Queries PRO
  • Memory Intensive Requests PRO
  • Slow Responses PRO
  • Too Many Model Hydrations PRO

# 🍽️ Serving Assets

  • Minification
  • Cache Headers
  • CDN PRO
  • Compression Headers PRO

# 🎛️ Infrastructure Tuning

  • MySQL Sockets for Single Server Setups
  • Opcache
  • Redis Sockets for Single Server Setups PRO
  • Redis Cache Hit Ratio PRO
  • Cache Hit Ratio PRO
  • HTTP/2 PRO

# 🛸 Choosing The Right Driver

  • Cache Driver
  • Queue Driver
  • Session Driver

# 🏆 Good Practices

  • Don't Install Dev Dependencies In Production
  • Avoid Debug Log Levels In Production
  • Avoid Env Calls Outside Of Config
  • Use Separate Redis Database For Locks
  • Use Horizon For Redis Queues
  • Don't Have Xdebug Loaded in Production PRO
  • Queue Your Notifications PRO
  • Avoid Command Constructor Injections PRO
  • Avoid Fallback Routes For Better SEO PRO
  • Use Redis Specific Throttling PRO
  • Use Redis Specific Job Rate Limiting PRO