'Load all fields specified by ``fields`` for the supplied ``xblocks``
and ``aside_types`` into this cache.
Arguments:
fields (list of str): Field names to cache.
xblocks (list of :class:`XBlock`): XBlocks to cache fields for.
aside_types (list of str): Aside types to cache fields for.'

def cache_fields(self, fields, xblocks, aside_types):

    for field_object in self._read_objects(fields, xblocks, aside_types):
        self._cache[self._cache_key_for_field_object(field_object)] = field_object
