Skip to content

The USE_NEW_DESIGN environment variable does not appear to reliably control which frontend design is used. #857

Closed

Description

@realJustinLee

Description

The USE_NEW_DESIGN environment variable does not appear to reliably control which frontend design is used.

According to the Docker documentation, setting:

USE_NEW_DESIGN: "true"

should enable the modern frontend, while:

USE_NEW_DESIGN: "false"

should use the classic frontend.

However, changing this environment variable does not appear to change the frontend as expected.

Server

LibreSpeed is running using the official Docker image:

services:
  speedtest:
    container_name: speedtest
    image: ghcr.io/librespeed/speedtest:latest
    restart: always
    environment:
      MODE: standalone
      USE_NEW_DESIGN: "true"
      TITLE: "LibreSpeed"
      TAGLINE: "LAN Speed Test"
    ports:
      - "8086:8080"

Deployment:

  • Docker Compose
  • Image: ghcr.io/librespeed/speedtest:latest
  • Mode: standalone
  • No custom frontend files mounted

Client

The behavior is reproducible from a browser accessing the LibreSpeed instance over the local network.

It does not appear to be browser-specific.

Steps to reproduce

  • Deploy LibreSpeed using the official Docker image.
  • Set:
USE_NEW_DESIGN: "true"
  • Recreate the container.
  • Open the LibreSpeed web interface.
  • Change the value to:
USE_NEW_DESIGN: "false"
  • Recreate the container again.
  • Open the web interface again.
  • Observe that the frontend design does not change as expected.

Expected behaviour

USE_NEW_DESIGN should reliably control the default frontend design.

USE_NEW_DESIGN: "true"

should enable the modern design.

USE_NEW_DESIGN: "false"

should enable the classic design.

Screenshots

Screenshots can be provided showing the frontend displayed with both values of USE_NEW_DESIGN.

Activity

  1. sstidl commented on Sep 27, 2026

    @sstidl
    Collaborator

    This is also a browser caching problem. The current implementation handles it correctly. I will merge a small change to prevent that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions