Refactor #3936: Refactor cc.loader.getUrl to support single arguments "url".
add new functions : getRes, release, releaseAll.