add memory file based cache (no native code)