Set the header no-cache on the path that you want.
no-cache
module.exports = { headers: () => [ { source: '/:path*', headers: [ { key: 'cache-control', value: 'no-cache', }, ], }, ], }