Service container cache rebuild, when?

Created on 25 August 2016, over 8 years ago
Updated 18 February 2025, 2 months ago

The Service container is cached by default in the database. I would like to know at what times it is rebuilt. When I do e.g. drush search-status I see an 'INSERT INTO cache_container' in my MySQL query log. Why is that? Nothing changed.

💬 Support request
Status

Fixed

Version

8.1 ⚰️

Component

base system

Created by

🇳🇱Netherlands gaele

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇹Austria a.milkovsky UTC +2

    Service container cache is rebuild if you clear the `container` cache. drush cc container.
    This cache clear command is a part of drush cr.

    If you want to clear the container cache separately from other caches, you mat want to use the deployment_identifier.

Production build 0.71.5 2024