Skip to content

v0.12.2

Compare
Choose a tag to compare
@ofhouse ofhouse released this 16 Apr 12:12
· 36 commits to main since this release

Changes

  • Redirects now append the querystring from the original request
    When a request /oldLocation?foo=bar has a querystring, the params are now appended to the Location header:
    Location: /newLocation?foo=bar.
  • Redirects are no longer cached by CloudFront
    All redirects issued by the proxy module use Cache-Control: public, max-age=0, must-revalidate now.
    It was Cache-Control: public, max-age=31536000, immutable previously.
    This mimics the same behaviour as how Vercel handles it.
  • Redirects now issue a response
    Previously redirects had no content, now a plaintext response is returned, e.g. Redirecting to /newLocation?foo=bar (308).

Changelog

  • Append querystring to redirects (#296, #304)