Make RefResolver cache remote refs by default

Add cache_remote flag to init to turn it off