home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 389536870

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/pull/258#issuecomment-389536870 https://api.github.com/repos/simonw/datasette/issues/258 389536870 MDEyOklzc3VlQ29tbWVudDM4OTUzNjg3MA== 9599 2018-05-16T14:22:31Z 2018-05-16T14:22:31Z OWNER

The principle benefit provided by the hash URLs is that Datasette can set a far-future cache expiry header on every response. This is particularly useful for JavaScript API work as it makes fantastic use of the browser's cache. It also means that if you are serving your API from behind a caching proxy like Cloudflare you get a fantastic cache hit rate.

An option to serve without persistent hashes would also need to turn off the cache headers.

Maybe the option should support both? If you hit a page with the hash in the URL you still get the cache headers, but hits to the URL without the hash serve uncashed content directly.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
322741659  
Powered by Datasette · Queries took 1.14ms · About: github-to-sqlite