Craft-Plugin--Redirect-Manager
Craft-Plugin--Redirect-Manager copied to clipboard
Performance Improvement
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.
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