Changes in configuration are not reflected in the front end

Created on 17 July 2024, 4 months ago
Updated 29 July 2024, 4 months ago

Problem/Motivation

There is a caching issue on the module: When the content page is cached and I change the configurations of VWO, the changes are not reflected in the front end, unless we clear all caches.

Steps to reproduce

1 - Enable the VWO module and configure the module, with Account Id 123456
2 - Create an Article and check that the VWO scripts are present on the page, observe the value: `var account_id=7654321`
3 - Go back to the VWO configuration page and change the Account Id to 7654321
4 - Re-visit the Article and observe that the Account Id does not change

Proposed resolution

Add cache tags for the config `vwo.settings`

Once this PR is merged, theses tests will pass https://git.drupalcode.org/issue/vwo-3461997/-/jobs/2142350

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom marcelovani London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024