kthcloud / kthcloud/console

Bad cache options for nginx cause white page when dist is updated

Open
#356 0 comments 0 reactions 1 assignee Claimed by @Phillezi View on GitHub
bug
Dominant language
TypeScript
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

The nginx server has sets a cache header on `index.html`, this makes the SPA break whenever the dist is updated, since the old (cached) index.html is served and the client tries to load the old js bundle.

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.