> Markdown version of [PWA Offline Page](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-offline). Section index: [llms.txt](https://vaadin.com/docs/v14/flow/llms.txt)

# PWA Offline Page

Vaadin automatically generates and serves an offline page. This is a simple page that:

- Includes the application name and icon.

- Communicates to the user that the application is offline, because there is no network connection.

## <a id="creating-a-custom-offline-page"></a>Creating a Custom Offline Page

To override the default offline page:

1. Create a file named `offline.html`.

2. Add the file to your `src/main/webapp/` folder.

You can change the name of the offline page file using the `offlinePath` parameter in the [`@PWA` annotation](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-pwa-with-flow.md).

The offline page can only use resources found in the cache. By default, only the offline page, [manifest](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-web-app-manifest.md), and [icons](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-icons.md) are cached. If your page needs additional resources (such as CSS, images, Web Components), you can define them using the `offlineResources` parameter in the [`@PWA` annotation](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-pwa-with-flow.md). See [Defining Custom Cache Resources](https://vaadin.com/docs/v14/flow/pwa/tutorial-pwa-service-worker.md#defining-custom-cache-resources) for more.

`53B65327-9EAA-4050-9CF3-718049396BC7`
