mapdb as memory/file cache, add etag http support