Redirect Caching Tests Results
Type:
HTML
JS
CSS
image
Status:
301
302
303
307
Expires:
future
none
past
Cookie:
none
constant
changing
Check out the results across all browsers.
Result Type Status Expires Cookie

Click "Test All" to test all combinations and submit results to Browserscope.
For individual tests, choose the desired settings and click "Test Once".

About the test: The test sequence is:

  1. go to a redirect URL
  2. go to the redirect URL again
  3. determine if the redirect in step 2 was read from cache

These URLs are loaded in the iframe in this page. The determination of whether the redirect was cached is based on time. The redirect response is delayed 2 seconds on the server. If the iframe loads in under 2 seconds, then the redirect must have been read from cache.

The selected settings for status code, expiration date, and cookies are passed to the server so that the redirect response is configured accordingly. Initially I passed these parameters to the server in a querystring, but browser caching is often affected by the presence of a querystring, so the current test passes these parameters within the URL filename. Browser caching is also affected by the presence of a "Cache-Control: private" response header, but this goes against RFC 2616, so all of these redirects are served with this private header.