Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

202
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda