---
lang: en
title: 'API docs: context.contextview.refresh'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.contextview.refresh.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ContextView](./context.contextview.md) &gt; [refresh](./context.contextview.refresh.md)

## ContextView.refresh() method

Refresh the view by invalidating its cache

<b>Signature:</b>

```typescript
refresh(): void;
```
<b>Returns:</b>

void


