Skip to content

sunshine caches box images #551

@ReenigneArcher

Description

@ReenigneArcher

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Describe the Bug

Box images are cached by Sunshine. The current resolution is to remove the sunshine host from moonlight, and re-add it.

Expected Behavior

Images are refreshed automatically in moonlight.

Additional Context

The image is served here:
https://github.com/LizardByte/Sunshine/blob/nightly/src/nvhttp.cpp#L770-L773

We can probably set cache time to 0 for images, or a relatively low value.

https://gitlab.com/eidheim/Simple-Web-Server/blob/master/https_examples.cpp#L139-L140

header.emplace("Cache-Control", "max-age=60");

Host Operating System

None

Operating System Version

Architecture

None

Sunshine commit or version

b5896c8

Package

None

GPU Type

None

GPU Model

GPU Driver/Mesa Version

Capture Method (Linux Only)

No response

Relevant log output

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions