I'm using the library @azure/app-configuration in my Angular web site and it works great. I used it for feature flagging. I run into the issue, that when I change a feature flag state (enabled to disabled or vice versa), this is not reflected in the website.
When I check the Network tab, I can see a request, but its status is "from disk cache".
In the response headers, I don't see any cache control headers, but I do see a LastModified header. It seems that this may impact caching.
I can't find any option or setting in the AppConfigurationClient or the method getConfigurationSetting
to disable caching or refresh. I tried the option "acceptDateTime" set to new Date()
but that doesn't make any difference. Also been playing around with other options, no luck
Alternatively, would it be possible to clear the cache for this URL (https://{{name}}.azconfig.io)?