public function handle($request, Closure $next) { if (!CacheSetter::hasCache()) { CacheSetter::freshCache(); } return $next($request); }
public function handle(UpdateEvent $event) { CacheSetter::freshCache(); }