The version: VERSION lines in libraries.yml are creating a version query string using the Drupal Core version number for the asset files, making these files cached in the browser dependent on the Core version.

Proposed resolution

Remove the version: VERSION lines from libraries.yml.

Issue fork fpa-3544544

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

astonvictor created an issue. See original summary.

vinodhini.e made their first commit to this issue’s fork.

ishani patel made their first commit to this issue’s fork.

vinodhini.e’s picture

Hi, Installed the module in Drupal 11.2.3.
Applied Merge Request #8, Cleared caches and verified the changes.
version: VERSION lines were removed from libraries.yml.
Checked page source: core version query strings are no longer present.
Thanks.

ishani patel’s picture

Assigned: Unassigned » ishani patel

Hello @astonvictor,
I've raised MR. Please review.
Thanks.

ishani patel’s picture

Assigned: ishani patel » Unassigned
Status: Active » Needs review

astonvictor’s picture

Status: Needs review » Fixed

thanks. fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.