RE: https://toot.cafe/@tomayac/116130295851736110
Great! I think I’ll try implementing this in Django-http-compression, when I find the time
RE: https://toot.cafe/@tomayac/116130295851736110
Great! I think I’ll try implementing this in Django-http-compression, when I find the time
If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/adamchainz/statuses/116131263924317095 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
RE: https://fosstodon.org/@adamchainz/116131263924317095
This got me thinking 💡
Django docs might be a perfect fit for this, since they’re built statically with Sphinx and the build sees the whole corpus, so you could train a shared dictionary from all the repeated HTML, templates, and structure 🗃️
With thousands of pages and many languages sharing the same layout, a per-language dictionary could squeeze responses even more once dictionary compression becomes easier to deploy ✅
Feels like a fun experiment for the Django ecosystem ⚗️