new cache module for reuse

handling error messages
saving all referenced pages