Skip to content

Session.getCacheSize method

Session › getCacheSize

Unofficial

Returns the session's current cache size, in bytes.

Signature:

getCacheSize(): Promise<number>

Returns: Promise<number>A promise that resolves with the cache size in bytes.