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

use correct cache buster in core/View.php #18895

Merged
merged 1 commit into from Mar 8, 2022
Merged

Conversation

diosmosis
Copy link
Member

Description:

The cachebuster set in render() does not appear to be used for JS files, which is different in development mode. Might be the cause of reloads not reloading JS files when switching branches.

CC @AltamashShaikh

Review

@diosmosis diosmosis added the Needs Review PRs that need a code review label Mar 8, 2022
Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diosmosis
This solves the issue

I just took a recent pull of TagManager and tried to click on Install Code, got this
Screenshot from 2022-03-08 10-52-52

I checked out to this branch and did a refresh and its loads properly as expected

@sgiehl sgiehl added this to the 4.9.0 milestone Mar 8, 2022
@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. and removed Needs Review PRs that need a code review labels Mar 8, 2022
@sgiehl sgiehl merged commit 4c04cd1 into 4.x-dev Mar 8, 2022
@sgiehl sgiehl deleted the use-correct-cache-buster branch March 8, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants