Add ability to cache attributes, xref https://github.com/pangeo-data/pangeo/issues/48.
Add ability to cache attributes, xref pangeo-data/pangeo#48.