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

#735 solves wrong routes matching #740

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

Nuranto
Copy link

@Nuranto Nuranto commented Aug 18, 2020

If there is a match with your code, I add a match check from laravel.

This action prevent bugs explained in #735
However, match check from laravel is a bit slow, so I added some Cache. Note that in my app, the same URL was parsing multiple time in a single request. (actually, multiple URLS multiple times in each request).
So with the cache, it is actually faster than before (in my case).
The cache TTL has been set arbitrarily to 30, but you can change it if you want.

Nuranto and others added 7 commits August 18, 2020 12:17
… working' issue (mcamara#762)

Co-authored-by: Ilya Kolesnikov <ivkol@mail.ru>
(cherry picked from commit c71bb11)
to handle the case of switching from arabic to another lang

Co-authored-by: DJEMMAL-nour-el-islam <52753848+djemml-nour-el-islam@users.noreply.github.com>
(cherry picked from commit 645819d)
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.

3 participants