---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# SimpleCacheEntry.text()

The **`text()`** method of the `SimpleCacheEntry` interface takes the instance's stream and reads it to completion.
It returns a promise that resolves with a `String`.
The result is _always_ decoded using UTF-8.

## Syntax

```js
text()
```

### Parameters

None.

### Return value

A Promise that resolves with a `String`.

