I have a script that updates an HBS file, which then gets rendered like so:
res.render('../_cache/homepage-1.hbs', {
title: 'Home',
style: 'home-new',
projectSlug: 'homepage',
});
this works perfectly in my dev environment.
in my production environment, it is not reading the updated hbs file. it's using whatever it what when the server started. I am sure the file is being updated, it just seems the server has a cached version or something, because it keeps on displaying the old one.
any idea what could be causing this?