V8-based projects can benefit from this as well: http://www.hashseed.net/2015/03/improving-v8s-performance-us...
Edit: looking at the plv8 code, it doesn't seem to create a new Isolate for every request. So I think for the same instance of PostgreSQL the in-memory cache should also hit.