> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signagelab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Offline Web

> Upload a static HTML website as a ZIP file and play it on your screens even without an internet connection.

An **Offline Web** campaign plays a static website (HTML, CSS, JavaScript, images) that you upload to the CMS as a ZIP archive. The device downloads the website and shows it from its own storage, so it works even during an internet outage. It suits custom interactive or animated content, for example a drinks menu with animations or an HTML5 banner.

## Before you start

Prepare a ZIP archive that meets these requirements:

* The archive contains an **index.html** file. It opens as the first page of the website.
* All files the website refers to (styles, scripts, images, fonts) are in the archive, and the links to them are relative, for example `img/coffee.jpg`.
* The website does not need a server side (PHP, a database). Data from the internet works only while the device is online.

> [!TIP]
>
> Test the website before uploading it: open `index.html` from the extracted folder directly in a browser on your computer. If it displays correctly, it will work on the device too.

## Create the campaign

**1. Create a campaign and choose the type**

In the **Campaigns** menu, click **Create**, enter a name, and in the **Content** step choose the **Offline Web** type. For details, see [Create a campaign](https://docs.signagelab.com/cms/campaigns/create.md).

**2. Upload the ZIP archive**

Drag the archive to the **Upload file** area, or click **Upload a file** and select it on your computer. Only the ZIP format and a single file are accepted.

![Upload file area for the ZIP archive](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/campaign-types/offline-website/zip-upload.en.png)

After the upload, the area is replaced by:

| Field | Description |
| - | - |
| **Archive Permalink** | Address of the uploaded archive. Click the arrow button to download the archive; click the red trash button to remove it so you can upload a different one. |
| **Preload before playback** | On by default. The player loads the website in advance, so it appears immediately. Preloading can reduce device performance. If you turn it off, a black screen may briefly appear before the website is displayed. |

![Uploaded archive with its link, download and remove buttons, and the Preload before playback option](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/campaign-types/offline-website/uploaded-archive.en.png)

Click **Next** to continue.

**3. Set the display duration and timing**

In the **Timing** step, use the **Duration** field to set how long the website stays on the screen: **Default Duration** from the [account settings](https://docs.signagelab.com/cms/account/settings.md), or a **Custom** number of seconds. If the website contains an animation, set the duration to match its length. The other options are described in [Campaign timing](https://docs.signagelab.com/cms/campaigns/timing.md).

**4. Choose screens and publish**

In the **Network** step, choose the content region and screens, see [Targeting screens](https://docs.signagelab.com/cms/campaigns/network.md). In the **Summary** step, click **Publish**, or click **Concept** to save the campaign as a draft.

## FAQ

> [accordion] How do I update the website?
>
> Open the campaign, click the trash button next to **Archive Permalink**, upload the new ZIP archive, and save the change. The device downloads the new version.

> [accordion] The screen shows a blank page or images are missing.
>
> Check that `index.html` is in the archive and that the links to files are relative and match the letter case of the file names. Devices treat, for example, `Coffee.jpg` and `coffee.jpg` as different files.

> [accordion] How is it different from the Website type?
>
> A [Website](https://docs.signagelab.com/cms/campaigns/campaign-website.md) shows a site from the internet and requires a connection. An offline website is stored directly on the device and does not depend on the server being available.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.