Only purge after a configurable lag time
Use atomic sequence file updates
typo: Only check for doc.time once