Clearing contextual links'cache I'm  listing nodes in a block view which is located in a panel managed by page_manager.

I need for these nodes somes custom opérations in contextual links, so i implmented hook_contextual_links_alter() to add some operations.

All works.

Problem : my custom contextual links are appearing in new nodes of this list (or modified nodes) but not in old ones. To make them appear, i need to flush my browser's cache (i'm also using memcache).
Editing all these nodes or clearing browser's cache are the only ways i currently found to get contextual links working for old nodes.

I need to achieve this during the update of my app with hook_update of my module without editing all these nodes or asking users to clear their cache.

PS : i tryed to clear all cache with &amp; without drush -individually or not-, by all ways, all modules are last stable version, drupal 8.5.2
This cache is located in sessionStorage on modern browsers.



I'm just clearing the entire sessionStorage with window.sessionStorage.clear(); on logout to solve this problem. I could be more precise on this deletion, but it does not matter in this app.