Implemented page caching

Added configurable page caching