An open source multi-tool for exploring and publishing data https://datasette.io
  • Python 88.4%
  • HTML 7.5%
  • JavaScript 2.4%
  • CSS 1.2%
  • Shell 0.3%
  • Other 0.1%
Find a file
Simon Willison 12f7e1dc56 Hashed URLs now have far-future cache expiry
Since the URL now includes a hash of the database, we can return a Cache-
Control: max-age=31536000 header for every response.

The exception is our 302 redirects. These we now serve with a Link: header
that tells any HTTP/2 server-push aware fronting proxies (such as Cloudfront)
to push the target of the redirect.

Closes #4
2017-10-23 19:36:44 -07:00
templates Refactored to use class based views 2017-10-23 19:25:48 -07:00
.gitignore Implemented multi-db support plus initial URL structure 2017-10-23 19:00:37 -07:00
app.py Hashed URLs now have far-future cache expiry 2017-10-23 19:36:44 -07:00
Dockerfile Initial working proof of concept 2017-10-22 17:41:19 -07:00
LICENSE Initial commit 2017-10-22 17:39:03 -07:00
requirements.txt Initial working proof of concept 2017-10-22 17:41:19 -07:00