Make URLs immutable #4
Many of the applications I want to implement with this would benefit from having permanent real URLs.
So let’s have both. The sha1 urls will serve far future cache headers (and an etag derived from their path). The non sha1 URLs will serve 302 uncached redirects to the sha1 locations.
We will have a setting that lets people opt out of this behavior.
Looks like the easiest way to implement HTTP/2 server push today is to run behind Cloudflare and use this:
Here's the W3C draft: https://w3c.github.io/preload/
From https://w3c.github.io/preload/#as-attribute it looks like I should use
Unclear if I should throw
Here's what the homepage of cloudflare.com does (with newlines added within the link header for clarity):
The original header looked like this: