fix: lower rapid-reload threshold
This commit is contained in:
parent
54b36e8604
commit
d9a698d4c5
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ frappe.assets = {
|
|||
// Evict cache every 2 days
|
||||
// Evict cache if page is reloaded within 10 seconds. Which could be user trying to
|
||||
// refresh if things feel broken.
|
||||
if ((not_updated_since < 10000 && is_reload()) || not_updated_since > 2 * 86400000) {
|
||||
if ((not_updated_since < 5000 && is_reload()) || not_updated_since > 2 * 86400000) {
|
||||
frappe.assets.clear_local_storage();
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue