Index

Properties

Optional cacheSizeBytes

cacheSizeBytes: number

The default value is 40 MB. The threshold must be set to at least 1 MB, and can be set to CACHE_SIZE_UNLIMITED to disable garbage collection.

Optional experimentalAutoDetectLongPolling

experimentalAutoDetectLongPolling: boolean

This setting will likely be enabled by default in future releases and cannot be combined with experimentalForceLongPolling.

This setting does not work in a Node.js environment.

Optional experimentalForceLongPolling

experimentalForceLongPolling: boolean

This setting cannot be used with experimentalAutoDetectLongPolling and may be removed in a future release. If you find yourself using it to work around a specific network reliability issue, please tell us about it in https://.com/firebase/firebase-js-sdk/issues/1674.

This setting does not work in a Node.js environment.

Optional host

host: string

Optional ignoreUndefinedProperties

ignoreUndefinedProperties: boolean

Optional merge

merge: boolean

Optional ssl

ssl: boolean