Skip to content

Debugging tools

No Caching

Strip caching and conditional headers so every request reaches the server and every response is fresh. Exactly which headers Cloak Proxy removes and sets.

No Caching removes the headers that let apps and browsers reuse old responses. With it on, requests go to the server for fresh data and responses tell the app not to store them. Use it when you change something on the server, or in a mock, and want to be sure the app sees the change instead of a cached copy or a 304 Not Modified.

No Caching has no rules. When it’s on, it applies to every request Cloak Proxy can read.

  1. Choose Tools › No Caching (the checkmark item), or open Tools › Debugging Tools…, select No Caching and flip its switch to On.

    You can also use the Tools button in the toolbar, or search for Turn On No Caching in Search Everything (⇧ ⌘ A).

  2. Make your requests again. Changed requests show a No Caching badge in the traffic list, and No Caching appears in the status bar.

  3. Turn it off the same way when you’re done.

No Caching has a single switch. The page lists what it changes.

  1. On/Off switch. No rules to set up.
  2. Changes made to requests.
  3. Changes made to responses.
The No Caching tool, switched off, listing the request and response headers it changes
Header Change
If-None-Match Removed
If-Modified-Since Removed
If-Match Removed
If-Unmodified-Since Removed
If-Range Removed
Cache-Control Set to no-cache, replacing any value the app sent
Pragma Set to no-cache

Without the conditional headers, the server can’t answer 304 Not Modified and sends the full response.

Header Change
ETag Removed
Last-Modified Removed
Expires Removed
Cache-Control Set to no-store, no-cache, must-revalidate, replacing the server’s value
  • Request changes are made after Map Local and Mock Sets, so they only affect requests that go to a server.
  • Response changes are made to every response, including those from Map Local and Mock Sets, before response scripts and the response breakpoint. A script can set caching headers back if you need it to.