make locations a cacheable document
add views to location caching