Preliminary work for caching system