Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

431
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda