I am working with an app built with KOA framework and I'm trying to figure out why a page is cached. In all browsers even a hard reload won't work. You literally have to clear cache to see the page update.
I want to add this to my index.js but I do not know where to add the line.
Can anyone help?
ctx.set('Cache-Control', 'no-cache');
I want to tell KOA to set the header of each page to not cache.