Auto Redirect www/non-www speeds up response time by caching redirect requests.
Here’s how it works:
- The browser sends a request for
www.example.com
to QUIC.cloud CDN. - QUIC.cloud sends the
www.example.com
request to your origin server. - The origin server returns a response, indicating that the
www.example.com
request was redirected toexample.com
(the non-www domain). - QUIC.cloud returns this redirect response to the browser and caches the response at the PoP level.
- The next time a
www.example.com
request is received, QUIC.cloud automatically redirects toexample.com
, saving a round trip to the origin server.
This works if the redirect is in the opposite direction, too (example.com
redirecting to www.example.com
).
Under the current CDN cache policy, pages are stored at a PoP for 24 hours from the last access, up to 7 days total.