added cache to pages