Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Return from maintenance middleware early if URL is excluded #48218

Merged
merged 1 commit into from
Aug 28, 2023
Merged

[10.x] Return from maintenance middleware early if URL is excluded #48218

merged 1 commit into from
Aug 28, 2023

Conversation

axlon
Copy link
Contributor

@axlon axlon commented Aug 28, 2023

Laravel's maintenance mode unnecessarily checks if the application is down in the event that the URL has been excluded. This causes unnecessary hits to the application's cache or filesystem.

@taylorotwell taylorotwell merged commit 12b20c3 into laravel:10.x Aug 28, 2023
19 checks passed
@axlon axlon deleted the maintenance-return-early branch August 28, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants