Add ability to query the local cache only

This resolves #80 by adding `localCacheOnly` as an option which is passed down to the loader.