Ghost/ghost/express-dynamic-redirects
Daniel Lockyer bfdf2dd8bf Optimized loading dynamic redirects
- the code kept an array of IDs, and would check new entries against the
  values of this array
- this algorithm is O(n^2) and became quite slow when the site had a lot
  of redirects
- we can do away with this entirely, and just compute the keys of the
  redirects to get the IDs
- this speeds up loading redirects by 3x or so
2024-10-14 17:16:49 +02:00
..
lib Optimized loading dynamic redirects 2024-10-14 17:16:49 +02:00
test Optimized loading dynamic redirects 2024-10-14 17:16:49 +02:00
.eslintrc.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
index.js Added express-dynamic-redirects module (#337) 2021-09-29 12:01:40 +02:00
package.json Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00