added initital version of page cache by jackge