-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Disable config caching by default #368
Comments
you can run:
|
I think that caching should be disabled BY DEFAULT. When you download Zend Skeleton App, you definitely plan to develop your website from it, so config caching enabled by default may be a problem. You don't identify this problem in your documentation, so novice users will be confused. |
Ping @weierophinney I agree with this. I would like to see development mode enabled by default so that no caching happens, then a "deploying to production" document explaining what you need to do to make an app production ready. Possible solution is to just disable the caching in the |
Agree with gray. Sent from my iPhone
|
Adding this to the
|
I tried to install the latest version of Zend Skeleton Application. I installed session support, standard plugins and form support. Then I opened the skeleton in web browser (Chrome). Then I added the
aboutAction()
action toIndexController
and a Literal route for that action and a view template. So far so good.Then I tried to open the About page in my browser, I've received error "The URL couldn't be matched by routing". Confusing. After many trials and errors, I've realised that disabling the config caching in
application.config.php
fixes the problem.So, I suggest that the config caching be disabled by default (currently it is enabled).
The text was updated successfully, but these errors were encountered: