This project is not covered by Drupal’s security advisory policy.

At times we need to cache some values which are not related to Drupal config or data but are coming from external systems and which don't really need to be deleted when clearing (rebuilding) Drupal cache.

This module provides a way to use Drupal cache but still keep it separate from drush cr.

Code to use this new backend in your bin (here stock is just for example):

    class: Drupal\Core\Cache\CacheBackendInterface
      - { name: cache.bin, default_backend: cache.backend.permanent_database }
    factory: cache_factory:get
    arguments: [stock]
Supporting organizations: 
Sponsored development time

Project Information