- π§πͺBelgium kriboogh
I think you could just add it to the /core/rebuild.php file, and do a curl call to that instead.
So, modify rebuild.php like so:// Clear user cache for all major platforms. $user_caches = [ 'apcu_clear_cache', 'wincache_ucache_clear', ];
Should become:
// Clear user cache for all major platforms. $user_caches = [ 'apcu_clear_cache', 'wincache_ucache_clear', 'opcache_reset', 'apcu_clear_cache', ];
Then drush cr can do a call to /rebuild.php.