Performance: Maintenance mode
MEDIUM IMPACT
Maintenance mode affects page load speed by temporarily disabling normal application responses and serving a simple static page, improving server resource usage during downtime.
<?php // Enable maintenance mode by running: // php artisan down // Laravel serves a simple static maintenance page without running full app logic
<?php // No maintenance mode, app still processes full requests Route::get('/', function () { return view('welcome'); });
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Full app request during maintenance | Many DOM nodes from full page | Multiple reflows due to dynamic content | High paint cost | [X] Bad |
| Static maintenance page served | Minimal DOM nodes | Single reflow | Low paint cost | [OK] Good |