You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the version 2 service host at https://service.chromeheadless.io/v2, running an up-to-date Chromium engine with the accompanying security improvements. Select it either by passing it as the second argument, chromeHeadlessio($secretToken, $serviceHost), or by setting "serviceHost" => "https://service.chromeheadless.io/v2" in settings(). The same second argument works on khtml() and phantomjs().
The version 2 host works with either client version. A chromeheadlessio/php-client 1.x client can point at it unchanged and gets the newer engine and the server-side improvements, because the request shape is the same and the host is just a setting.
Resource caching is the part that does need chromeheadlessio/php-client 2.x, since the manifest is built client-side. With a 2.1.0 or later client on the version 2 host, the resource cache and cacheCustom scope global are on by default, so KoolReport's own library resources are uploaded once for the whole service instead of once per export. No resourceCache block is needed; "enabled" => false opts back out.
The version 1 host at https://service.chromeheadless.io remains the default and is unchanged. Existing code that does not set serviceHost keeps its current behaviour, including the resource cache staying off unless explicitly enabled.