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

196
Views
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
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!