def page(document_id, number): document, page = get_page(document_id, number) enable_cache(server_side=True) return jsonify(page)