by ato · 13y ago · 0 comments
http://archive.org/web/researcher/cdx_file_format.php
Each CDX record maps a URL-timestamp pair to a byte offset into an ARC or WARC file. These are essentially just gzipped HTTP responses concatenated together:
http://archive.org/web/researcher/ArcFileFormat.php http://www.digitalpreservation.gov/formats/fdd/fdd000236.sht...
The document is retrieved, uncompressed, URLs are rewritten, the navigation banner javascript injected and the result is sent to the client.
The code is here: https://github.com/internetarchive/wayback