cache pages, preliminary work