In my local dev environment
drush cr does not rebuild the
cache_discovery table. I have to manually truncate it. Is it because
expire is set to
-1 on all rows? If so, did I mess something up in setting up this site?
I think I could add
$settings['cache']['bins']['discovery'] = 'cache.backend.null'; in my local settings file, but then I'd have to truncate it in production when making changes like the one that brought this up. This doesn't seem right.
Maybe I'm just missing a setting somewhere, but
rebuild.php, and restarting apache all leave
cache_discovery exactly as it was.