added cache feature to current page API