Changed cache files logic structure
Resource cache location is changed to local web-application working
directory