Timeline for Which cache bin to clear after changing services
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2018 at 8:11 | comment | added | Miguel San | I already used one hook_update_N() function, but not an empty one, one that added a db table. I can try, but does it really make a difference wehther it is empty or not? | |
Aug 10, 2018 at 20:43 | comment | added | Clive♦ | Yeah I was looking there earlier, I didn't think there was anything after the container invalidation that would also need to be done for just a dependency change. But I'll take your word for it. Maybe OP could implement a custom command with just the select things they need to flush (e.g. not Twig/router/etc) | |
Aug 10, 2018 at 20:27 | comment | added | mpdonadio♦ |
@Clive Look at drupal_flush_all_caches() and everything it does after invalidating the container. Also consider that a most of what is in YAML ends up in in the K-V and not Cache.
|
|
Aug 10, 2018 at 20:05 | comment | added | Clive♦ | I was going to mention something similar (about not knowing what else might need to be invalidated at the same time), but I couldn't think of any categories of things that might be affected. Do you know of any in particular? | |
Aug 10, 2018 at 19:52 | history | answered | mpdonadio♦ | CC BY-SA 4.0 |