.. include:: /Includes.rst.txt .. _task-1791443623: =============================================== Task: ddev demo and ddev update clear the cache =============================================== Description =========== ``ddev demo`` and ``ddev update`` clear the application cache before they migrate the database. Without the debug kernel, as the local ddev configuration runs it, a cached service container outlives code changes and branch switches: the demo data failed to load with a constructor error of a changed service, and pages answered with a 500 for a mapping directory of another branch. Impact ====== Local development only; installations are not affected. .. index:: Documentation