tweaks
This commit is contained in:
parent
6cbed4b4d8
commit
26db33dc31
1 changed files with 1 additions and 2 deletions
|
|
@ -45,8 +45,7 @@ export function get (url, hasBar = false) {
|
||||||
const result = cache[url] = {
|
const result = cache[url] = {
|
||||||
content: target.response,
|
content: target.response,
|
||||||
opt: {
|
opt: {
|
||||||
updatedAt: xhr.getResponseHeader('last-modified') ||
|
updatedAt: xhr.getResponseHeader('last-modified')
|
||||||
xhr.getResponseHeader('expires')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue