{"html_url": "https://github.com/simonw/datasette/issues/681#issuecomment-590543398", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/681", "id": 590543398, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDU0MzM5OA==", "user": {"value": 2181410, "label": "clausjuhl"}, "created_at": "2020-02-24T20:53:56Z", "updated_at": "2020-02-24T20:53:56Z", "author_association": "NONE", "body": "Excellent. I'll implement the simple plugin-solution now. And will have a go at a more mature plugin later. Thanks!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569317377, "label": "Cashe-header missing in http-response"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/681#issuecomment-590107843", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/681", "id": 590107843, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDEwNzg0Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T19:42:15Z", "updated_at": "2020-02-23T19:42:15Z", "author_association": "OWNER", "body": "Those security headers from your screenshot are definitely worth me thinking more about. Even if not as core features they could make a great officially supported plugin.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569317377, "label": "Cashe-header missing in http-response"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/681#issuecomment-590107464", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/681", "id": 590107464, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDEwNzQ2NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T19:38:16Z", "updated_at": "2020-02-23T19:38:16Z", "author_association": "OWNER", "body": "The `default_cache_ttl` config currently only takes effect for databases that are loaded in immutable mode using `-i database.db`: https://datasette.readthedocs.io/en/stable/performance.html#immutable-mode", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569317377, "label": "Cashe-header missing in http-response"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/681#issuecomment-590107309", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/681", "id": 590107309, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MDEwNzMwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-23T19:36:33Z", "updated_at": "2020-02-23T19:36:33Z", "author_association": "OWNER", "body": "For adding extra HTTP headers I suggest writing a plugin. There's an example in the docs of one that adds a simple HTTP header here: https://datasette.readthedocs.io/en/stable/plugins.html#asgi-wrapper-datasette\r\n\r\nYou don't need to bundle it up as a full Python package - you can create a `plugins/add_headers.py` file and run Datasette with `--plugins-dir=plugins/`: https://datasette.readthedocs.io/en/stable/plugins.html#writing-plugins", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 569317377, "label": "Cashe-header missing in http-response"}, "performed_via_github_app": null}