added http persistence for performance reasons