INTEGRITY Cloudflare Docs

Always Online

Observe the following best practices when enabling Always Online with Internet Archive integration.

Do not use Always Online with:

Limitations

There are limitations with the Always Online functionality:

  1. Always Online is not immediately active for sites recently added due to:
    • DNS record propagation, which can take 24-72 hours
    • Always Online has not initially crawled the website
  2. Cloudflare cannot show private content behind logins or handle form submission (POSTs) if your origin web server is offline.

Always Online does not trigger for HTTP response codes such as 404, 503, or 500 errors such as database connection errors or internal server errors. This is because these status codes indicate the origin is reachable and responding — Always Online only activates when Cloudflare cannot connect to your origin at all (resulting in Cloudflare-generated 520–527 status codes). If your origin returns a 5xx error, the origin is online by definition and Always Online will not intervene.

Frequently asked questions

  1. How can I know if a page has been crawled?

  2. Why were not pages x, y, and z crawled?

    • Since Cloudflare only requests to crawl the most popular pages on the site, it is possible that there will be missing pages. If you really want to archive a page, then you can visit the Internet Archive save page and ask them to crawl a particular page.
  3. What IP addresses do we need to allowlist to make sure crawling works?

    • IP Range: 207.241.224.0/20 and 208.70.24.0/21. Note that this ip range belongs to Internet Archive and NOT Cloudflare, since it is the Internet Archive that does the crawling.
  4. What user agent should the origin expect to see?

    • Currently the Internet Archive uses: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/605.1.15.