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

Performance Improvement #20

Open
rubenwebs opened this issue Apr 5, 2016 · 1 comment
Open

Performance Improvement #20

rubenwebs opened this issue Apr 5, 2016 · 1 comment

Comments

@rubenwebs
Copy link

Hi,

Someday when you got time, you could also improve on performance.
We had a website with 10.000 redirects in the manager and the memory exploded, because the redirect manager loads all the rows of the table into Craft.

My suggestion is to query on the database first for finding the right redirect, instead of loading everything in.

@rkingon
Copy link
Owner

rkingon commented May 3, 2016

Yea, 10k is a ton!

The problem is the way it matches, via regex. mysql has some basic regex support but I haven't really looked into it.

I think the operator would be RLIKE -- I'll play with it

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

No branches or pull requests

2 participants