Update configuration-cache in production
- materix
- Backer | 82
Every time I deploy a modified “services.neon” to production (debug-mode is false), then I need to delete the “/temp/cache/configuration”-folder to make it work.
If I switch debug-mode to true then it works, but of-course I must not do that with a live-server.
What procedure do you recommend, when updating code running in production?
- Marek Bartoš
- Nette Blogger | 1245
What procedure do you recommend, when updating code running in production?
delete the “/temp/cache/configuration”
If I switch debug-mode to true then it works
It works only for debug mode. Non-debug has different DI container that is still fully cached