Bixal / bixal-site-drupal

Bixal drupal site
https://www.bixal.com
0 stars 0 forks source link

BSD fixes #338: Allow cache to be cleared with Drush again. #339

Closed mattsqd closed 7 hours ago

mattsqd commented 2 weeks ago

To Reproduce (Must be done on a different branch)

  1. Load the site
  2. lando drush cg entity_field_map discovery
  3. Note the cache value.
  4. lando drush cr
  5. lando drush cg entity_field_map discovery
  6. Note the cache value is still there.

After switching to the above, the cache value should be gone after lando drush cr.

The problem was that the settings changes needed to be INSIDE the function, otherwise they won't be applied again. Drush initializes the site multiple times and wipes it out, making you use the default cache bin 'memory'.