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.
Turn No Caching on
Section titled “Turn No Caching on”No Caching has no rules. When it’s on, it applies to every request Cloak Proxy can read.
-
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).
-
Make your requests again. Changed requests show a
No Cachingbadge in the traffic list, and No Caching appears in the status bar. -
Turn it off the same way when you’re done.
No Caching has a single switch. The page lists what it changes.
- On/Off switch. No rules to set up.
- Changes made to requests.
- Changes made to responses.
What No Caching changes
Section titled “What No Caching changes”Requests
Section titled “Requests”| 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.
Responses
Section titled “Responses”| Header | Change |
|---|---|
ETag |
Removed |
Last-Modified |
Removed |
Expires |
Removed |
Cache-Control |
Set to no-store, no-cache, must-revalidate, replacing the server’s value |
How No Caching works with other tools
Section titled “How No Caching works with other tools”- 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.