HTML buffering, versioning, and connection management