I'm using a traditional Zend framework application generated using Zend tool
. I have several modules in my application all generated using Zend tool
too. I'm intending to use the default routes
in Zend framework in my application.
For example: www.host.com/module/controller/action/param1/value1/param2/value2
Here are my questions:
- Performance wise, using the default routes is the fastest solution, right?
- Since I won't ever change the routes, is there a way to make the routing process even faster? caching for example? skipping the routing process entirely? or any other technique?
- What is the pros of making custom routes? is it better for SEO?
- Can I skip the routing process for AJAX calls? (I know the answer is mostly NO, but maybe I can optimize my call further for AJAX calls)
Note:
I understand the routing process itself and how it works in Zend framework. However, since I won't be using most of the features available I thought maybe it's time for fine tuning :)
Thanks in advance.