fix permission handling
draft cache
simple file cache implemented.
working on persistent metadata(etag) cache