korlibs / korlibs/korge

[Feature Request] Force the browser to redownload files (js and resources)

Open
#746 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

Currently simple URLs are used and my browser caches them. This leads to problems when I publish an updated version of the game.

This can be solved by adding a query parameter like `?v=$TIMESTAMP` to all the URLs KorGE tries to get.

Related discussion: https://discord.com/channels/728582275884908604/728616340239417375/805336781666648104

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how KorGE constructs URLs for JavaScript and other resources in the web target; no file or test is named in the issue. Confirm the cache-busting parameter is applied consistently and that an updated published game causes the browser to request fresh files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kotlin
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.