Edgemesh - Instance of the Edgemesh class.
Client configuration options.
Lite mode disables the Edgemesh service worker. Customers that want to use Edgemesh only for its B2B Analyzer and Real User Metrics will want to set this to
External Mount mode instructs the Edgemesh client that it should skip registration of its own service worker and instead look for an externally mounted, Edgemesh compatible service worker. This is used by our partners to integrate Edgemesh into their services.
By default, when Edgemesh encounters an unrecoverable error or a site is disabled by configuration, the Edgemesh Service Worker is unregistered. This can cause unintended side affects if you are combining service workers. Soft Disable keeps the installed Service Worker alive, only disabing the Edgemesh service itself.
URL of the Edgemesh service worker. This options is used by Edgemesh integrations. You can add your service worker to a sub-directory and set this option, just make sure you know what you are doing.
Scope of the Edgemesh service worker. Change the scope at which the service worker is allowed to service. More on that here.
Host of the Edgemesh back end. Don't change this unless instructed by your dedicated Edgemesh Engineer (Enterprise feature).
The integer representation of the Edgemesh log level.
// Disable Logging.window.edgemesh.setLogLevel(window.edgemesh.LOG_LEVELS.silent)// Error Logging.window.edgemesh.setLogLevel(window.edgemesh.LOG_LEVELS.error)// Warning Logging.window.edgemesh.setLogLevel(window.edgemesh.LOG_LEVELS.warn)// Info Logging.window.edgemesh.setLogLevel(window.edgemesh.LOG_LEVELS.log)// Verbose Logging.window.edgemesh.setLogLevel(window.edgemesh.LOG_LEVELS.debug)
Enable or disable devmode.
// Enable devmode.window.edgemesh.devmode(true)// Disable devmode.window.edgemesh.devmode(false)
The type of sync operation. One of
// Perform a full Edgemesh backround sync.edgemesh.sync()// Perform a sync that removes all stale assetsedgemesh.sync('del')// Perform a sync that adds new assetsedgemseh.sync('add')
Edgemesh Log Levels
Log info, warnings and errors.
Log warnings and errors.