/**
  * Invalidate a special key
  *
  * All we do is store the timestamp of teh invalidation
  *
  * @see http://b2evolution.net/man/widget-caching
  */
 static function invalidate_key($key, $val)
 {
     global $Debuglog, $servertimenow, $instance_name;
     $lastchanged_key_name = $instance_name . '+last_changed+' . $key . '=' . $val;
     // Invalidate using the real time (seconds may have elapsed since $sertimenow)
     // Add 1 second because of the granularity that's down to the second
     // Worst case scenario: content will be collected/cahced several times for a whole second (as well as the first request after the end of that second)
     BlockCache::cacheproviderstore($lastchanged_key_name, time() + 1);
     $Debuglog->add('Invalidated: ' . $lastchanged_key_name . ' @ ' . (time() + 1), 'blockcache');
 }