Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add a cache busting string generator #126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Apr 25, 2024

This PR aims to make the generation of the cache busting string configurable with maximum flexibility (that a config can't quite provide).

It introduces a CacheBusterInterface that any CacheBuster can implement with a single method that should return the cache busting string.

Easy I guess.

Will talk with @promatik to know if he foresees any downside, but I think we are good.

@pxpm pxpm added the enhancement New feature or request label Apr 25, 2024
@GregaUNK
Copy link

Any news on when this is going to be released?

@ablunier
Copy link

It would be awesome to have this feature to force the browser to load the new assets when something was updated. Now the only way that I found out to overcome this browser cache issue is changing the file name...
Is it expected to be available anytime soon @pxpm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: MUST
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants