Common web archive utility code.