Our software architect said that.
“maybe cake routes is heavyer than .htaccess.
so Would you use .htaccess?”
How heavy cake routes?
Does someone who measure?
how to measure?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it’s probably slower than pure .htaccess rewrite rules.
No, I don’t think it matters. But most of all: it does not do the same thing. Cake routes also need to do reverse routing (that is, create a URL that fits your defined routes from an
array('controller' => ..., 'action' => ...)array). This is an explicit feature that gives you a lot of flexibility and increased productivity during development.You would need to extensively rewrite Cake to replace routing with .htaccess rewrites. If you’re using Cake, you’re automatically using its routing. If that is a bottleneck for you, Cake isn’t for you.