Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

432
Views
Azure App Configuration client library - caching of getConfigurationSetting

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". request in network tab 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)?

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Based on the comment above, this issue describes that the library is not recommended for client side use. I agree, as I wasn't already very happy about exposing such a connection string in JS. So I've moved the logic to my API, implemented IMemoryCache, and now it works.

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!