mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 07:22:47 -07:00
Remove 'no cache' directive for POST requests
The response for POST request is only cachable under a specific condition and qbt doesn't use it. https://developer.mozilla.org/en-US/docs/Glossary/Cacheable
This commit is contained in:
parent
f7e9ff0fb0
commit
8ef99b336c
20 changed files with 15 additions and 36 deletions
|
@ -358,8 +358,8 @@ window.qBittorrent.PropFiles = (function() {
|
|||
const url = new URI('api/v2/torrents/files?hash=' + current_hash);
|
||||
new Request.JSON({
|
||||
url: url,
|
||||
noCache: true,
|
||||
method: 'get',
|
||||
noCache: true,
|
||||
onComplete: function() {
|
||||
clearTimeout(loadTorrentFilesDataTimer);
|
||||
loadTorrentFilesDataTimer = loadTorrentFilesData.delay(5000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue