Harden your web app with security headers.
Recent revisions are kept. Restoring one creates a new revision.