Rev2060, Only boost all.js and all.css priority, really fix download priority test
This commit is contained in:
parent
d2cf613872
commit
bf042ce7a3
3 changed files with 6 additions and 6 deletions
|
@ -390,9 +390,9 @@ class WorkerManager(object):
|
|||
return 9998 # index.html also important
|
||||
if "-default" in inner_path:
|
||||
return -4 # Default files are cloning not important
|
||||
elif inner_path.endswith(".css"):
|
||||
elif inner_path.endswith("all.css"):
|
||||
return 13 # boost css files priority
|
||||
elif inner_path.endswith(".js"):
|
||||
elif inner_path.endswith("all.js"):
|
||||
return 12 # boost js files priority
|
||||
elif inner_path.endswith("dbschema.json"):
|
||||
return 11 # boost database specification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue