I want to disable xhr cache, but not work


#1

i want to disable xhr cache, but not work. T-T, pls help me! damn~
image


#2


#3

This is a browser cache, to disable it you can switch it to async route and add some extra query every time:

{
  path: '/some-page/',
  async(to, from, resolve, reject) {
    resolve({
      url: 'somepage.html?' + new Date().getTime(),
    });
  }
}

#4

thank you for reply, sir. i love you.