Add a possibility to use cache without xrootd client