Hi,

Our application requires a number of routes to be defined which are
dependent on dynamically populated database fields. This currently results
in quite a lot of queries on each page load.

Is it possible to build up all the routes and then cache the router object
so it doesn't need to be built on each page load?

As a second part to my question, we have an e-commerce site with over 5000
products and it would be nice to have friendly URLs for them. At the moment
we us a friendly URL which includes the product id. We could get rid of the
need for a product id in the URL by defining static routes for all products
but I assume it would be a bad idea to have so many routes defined?

Thanks in advance,

Ben
-- 
View this message in context: 
http://n4.nabble.com/Routers-and-caching-tp960971p960971.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to