{"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343790984", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343790984, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc5MDk4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T02:09:34Z", "updated_at": "2017-11-13T02:09:34Z", "author_association": "OWNER", "body": "HTTP/2 push totally worked on the redirect!\r\n\r\n fetch('https://fivethirtyeight.datasettes.com/fivethirtyeight/riddler-pick-lowest%2Flow_numbers.csv.jsono').then(r => r.json()).then(console.log)\r\n\r\n\"eventbrite_api___v3_destination_search_\"\r\n\r\nMeanwhile, in the network pane...\r\n\r\n\"eventbrite_api___v3_destination_search_\"\r\n\r\n\"eventbrite_api___v3_destination_search_\"\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343781030", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343781030, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4MTAzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T00:21:05Z", "updated_at": "2017-11-13T02:09:32Z", "author_association": "OWNER", "body": "- [x] Have `now domain add -e datasettes.com` run without errors (hopefully just a matter of waiting for the DNS to update)\r\n- [x] Alias an example dataset hosted on Now on a datasettes.com subdomain\r\n- [x] Confirm that HTTP caching and HTTP/2 redirect pushing works as expected - this may require another page rule", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343789162", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343789162, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4OTE2Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T01:53:29Z", "updated_at": "2017-11-13T01:53:29Z", "author_association": "OWNER", "body": "```\r\n$ curl -i 'https://fivethirtyeight.datasettes.com/fivethirtyeight-75d605c/obama-commutations%2Fobama_commutations.csv.jsono'\r\nHTTP/1.1 200 OK\r\nDate: Mon, 13 Nov 2017 01:50:57 GMT\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nSet-Cookie: __cfduid=de836090f3e12a60579cc7a1696cf0d9e1510537857; expires=Tue, 13-Nov-18 01:50:57 GMT; path=/; domain=.datasettes.com; HttpOnly; Secure\r\nAccess-Control-Allow-Origin: *\r\nCache-Control: public, max-age=31536000\r\nX-Now-Region: now-sfo\r\nCF-Cache-Status: HIT\r\nExpires: Tue, 13 Nov 2018 01:50:57 GMT\r\nServer: cloudflare-nginx\r\nCF-RAY: 3bce154a6d9293b4-SJC\r\n\r\n{\"database\": \"fivethirtyeight\", \"table\": \"obama-commutations/obama_commutations.csv\"...```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343788817", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343788817, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4ODgxNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T01:50:27Z", "updated_at": "2017-11-13T01:50:27Z", "author_association": "OWNER", "body": "https://fivethirtyeight.datasettes.com/ is now up and running.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343788780", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343788780, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4ODc4MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T01:50:01Z", "updated_at": "2017-11-13T01:50:01Z", "author_association": "OWNER", "body": "Added another page rule in order to get Cloudflare to always obey cache headers sent by the server:\r\n\r\n\"page_rules__datasettes_com___cloudflare_-_web_performance___security\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343788581", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343788581, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4ODU4MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T01:48:17Z", "updated_at": "2017-11-13T01:48:17Z", "author_association": "OWNER", "body": "I had to add a rule like this to get letsencrypt certificates on now.sh working: https://github.com/zeit/now-cli/issues/188#issuecomment-270105052\r\n\r\n\"page_rules__datasettes_com___cloudflare_-_web_performance___security\"\r\n\r\nI also have to flip this switch off every time I want to add a new alias:\r\n\r\n\"crypto__datasettes_com___cloudflare_-_web_performance___security\"\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343780539", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343780539, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4MDUzOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T00:13:29Z", "updated_at": "2017-11-13T00:19:46Z", "author_association": "OWNER", "body": "https://zeit.co/docs/features/dns is docs\r\n\r\n now domain add -e datasettes.com\r\n\r\nI had to set up a custom TXT record on `_now.datasettes.com` to get this to work.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343780814", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343780814, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4MDgxNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T00:17:50Z", "updated_at": "2017-11-13T00:18:19Z", "author_association": "OWNER", "body": "Achieved those redirects using Cloudflare \"page rules\": https://www.cloudflare.com/a/page-rules/datasettes.com", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343780671", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343780671, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4MDY3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T00:15:21Z", "updated_at": "2017-11-13T00:17:37Z", "author_association": "OWNER", "body": "- [x] Redirect https://datasettes.com/ and https://www.datasettes.com/ to https://github.com/simonw/datasette", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/71#issuecomment-343780141", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/71", "id": 343780141, "node_id": "MDEyOklzc3VlQ29tbWVudDM0Mzc4MDE0MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-13T00:06:52Z", "updated_at": "2017-11-13T00:06:52Z", "author_association": "OWNER", "body": "I've registered datasettes.com as a domain name for doing this. Now setting it up so Cloudflare and Now can serve content from it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273278840, "label": "Set up some example datasets on a Cloudflare-backed domain"}, "performed_via_github_app": null}