# |
Mar 8th 2018, 03:40 |
savant |
search for a VERSION.txt file |
# |
Mar 8th 2018, 03:40 |
meder |
now it's time to figure out what version of cake this monolithic site is on... |
# |
Mar 8th 2018, 03:40 |
meder |
sweet |
# |
Mar 8th 2018, 03:38 |
admad |
meder: https://github.com/cakephp/cakephp/pull/11765 |
# |
Mar 8th 2018, 03:37 |
meder |
sec |
# |
Mar 8th 2018, 03:37 |
meder |
yeah.. let me find it first |
# |
Mar 8th 2018, 03:37 |
savant |
if you gist those, I can help you better. |
# |
Mar 8th 2018, 03:36 |
savant |
and you havent gisted any of your routes.php files |
# |
Mar 8th 2018, 03:36 |
savant |
I dont know what you’re looking at specifically |
# |
Mar 8th 2018, 03:36 |
meder |
something else is doing that? |
# |
Mar 8th 2018, 03:36 |
meder |
it wouldn't populate the routeTable i'm talking about, right? |
# |
Mar 8th 2018, 03:36 |
meder |
savant: if you do $routes->connect('/articles/:id', []) that just registers the route - it binds it the controller etc |
# |
Mar 8th 2018, 03:34 |
meder |
Cake\Routing\RouteCollection -> _routeTable specifically |
# |
Mar 8th 2018, 03:34 |
savant |
ah ok |
# |
Mar 8th 2018, 03:33 |
meder |
because i dumped it and there are thousands of them in routecollection? |
# |
Mar 8th 2018, 03:33 |
savant |
Why do you think there are that many routes bound? |
# |
Mar 8th 2018, 03:33 |
meder |
ok |
# |
Mar 8th 2018, 03:33 |
meder |
or is that just a binding |
# |
Mar 8th 2018, 03:33 |
savant |
->connect( |
# |
Mar 8th 2018, 03:32 |
meder |
would that be a ->connect call? |
# |
Mar 8th 2018, 03:32 |
meder |
savant: what call should i look for where it would register a thousand+ etc routes? |
# |
Mar 8th 2018, 03:30 |
savant |
connects the default routes |
# |
Mar 8th 2018, 03:30 |
savant |
https://book.cakephp.org/3.0/en/development/routing.html#fallbacks-method |
# |
Mar 8th 2018, 03:29 |
meder |
savant: what does ->fallbacks do again? |
# |
Mar 8th 2018, 03:25 |
savant |
But ok :slightly_smiling_face: |
# |
Mar 8th 2018, 03:25 |
savant |
I cant really prescribe anything without seeing what you’re working with. |
# |
Mar 8th 2018, 03:25 |
meder |
let me try to study them a little more though, sec |
# |
Mar 8th 2018, 03:25 |
meder |
heh |
# |
Mar 8th 2018, 03:25 |
meder |
that each have their own route file |
# |
Mar 8th 2018, 03:25 |
meder |
there are 20-25 plugins |
# |
Mar 8th 2018, 03:24 |
savant |
And how you link to things? |
# |
Mar 8th 2018, 03:24 |
savant |
Can you gist your routes.php file? |
# |
Mar 8th 2018, 03:24 |
meder |
i suppose it is, in order to validate a real route |
# |
Mar 8th 2018, 03:24 |
meder |
i wonder if it's a necessity for those to get generated |
# |
Mar 8th 2018, 03:24 |
savant |
in cake2, I had a PageRoute class |
# |
Mar 8th 2018, 03:24 |
meder |
so if you can imagine 2k news articles, 2k routes |
# |
Mar 8th 2018, 03:23 |
meder |
1. i didn't build this 2. there are dynamic routes for permalinks and such, apparently |
# |
Mar 8th 2018, 03:23 |
savant |
why do you have that many routes |
# |
Mar 8th 2018, 03:23 |
meder |
routes* |
# |
Mar 8th 2018, 03:23 |
meder |
i have 3-4k links |
# |
Mar 8th 2018, 03:22 |
meder |
does anyone have recommendations on optimizing reverse routing in cake 3+? |