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

203
Visualizações
Prevent an EJS file from being cached by Redis

In my Node-Express app, I'm rendering two different EJS files one for desktop screen and the other for Mobile Devices and there is a Redis cache system.

When I turn off Redis on localhost I am able to reload the app and display the accurate EJS file for the required window width or device(mobile or desktop) but when I turn it on I am not able to display the required EJS template screens, and this happens even in prod.

Now I want to disable the Redis cache for the two EJS files, this will enable the auto-refresh and allow the accurate EJS file to be rendered. I tried turning of Redis, and when I did it works but I can't turn it off in prod.

what I want to do is: Block Redis from caching an EJS file in Nodejs

Any ideas or suggestions on how to do it ??

Thanks in advance for your help.

about 4 years ago · Juan Pablo Isaza
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