added cache mechanics to <getPageDetails>