Skip to content

DEV: Move the catch-all route to the bottom #32798

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

Merged
merged 1 commit into from
May 19, 2025
Merged

DEV: Move the catch-all route to the bottom #32798

merged 1 commit into from
May 19, 2025

Conversation

CvX
Copy link
Contributor

@CvX CvX commented May 19, 2025

This avoids making unnecessary database queries when routing to paths that were positioned below this entry, e.g.

curl http://localhost:3000/form-templates

# SELECT 1 AS one FROM "permalinks" WHERE "permalinks"."url" = 'form-templates' LIMIT 1
# …

This avoids making unnecessary database queries when routing to paths that were positioned below this entry, e.g.

```
curl http://localhost:3000/form-templates

# SELECT 1 AS one FROM "permalinks" WHERE "permalinks"."url" = 'form-templates' LIMIT 1
# …
```
@CvX CvX merged commit 1e368a0 into main May 19, 2025
17 checks passed
@CvX CvX deleted the 0-a-last-route branch May 19, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants