Caching is handled when the app loads events. So the applesauce-loaders package has a much of "loader" methods that all accept a method to read from a cache. Then for saving too cache that can be handled by subscribing to the event store and saving new events to the cache
https://applesauce.build/storage/caching
https://applesauce.build/storage/caching