Rev2060, Only boost all.js and all.css priority, really fix download priority test

This commit is contained in:
shortcutme 2017-05-07 21:34:44 +02:00
parent d2cf613872
commit bf042ce7a3
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 6 additions and 6 deletions

View file

@ -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