Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--skia-font-cache-limit-mb

What does --skia-font-cache-limit-mb do?

Specifies the max number of bytes that should be used by the skia font cache. If the cache needs to allocate more, skia will purge previous entries.

Usage

CLILaunch Chrome with --skia-font-cache-limit-mb using CLI

chrome --skia-font-cache-limit-mb

PuppeteerLaunch Chrome with --skia-font-cache-limit-mb using Puppeteer

const browser = await puppeteer.launch({
  args: ['--skia-font-cache-limit-mb']
});

PlaywrightLaunch Chrome with --skia-font-cache-limit-mb using Playwright

const browser = await chromium.launch({
  args: ['--skia-font-cache-limit-mb']
});

SeleniumLaunch Chrome with --skia-font-cache-limit-mb using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--skia-font-cache-limit-mb')

driver = webdriver.Chrome(options=options)

Build Conditions

LOAD_WEBUI_FROM_DISK