Disable Caching

1,281 views
Skip to first unread message

Mike Denton

unread,
May 2, 2011, 9:10:49 AM5/2/11
to Fiddler
Hey all.

I tried replying to a post that was talking about this, but I was only
able to reply to an author, not to the whole group, so I think I sent
a personal message to someone!

Every time I use fiddler, I always disable caching, as I use fiddler
to debug web traffic and I want to make sure I always see all requests/
responses hitting the server. I start fiddler, go to Rules ->
Performance -> Disable Caching.

I was wondering if there is a way to set this up as the default, so it
starts up with caching already disabled? I've tried looking through
settings, searching through the google groups, looking at the website,
but I can't find anything. Maybe a command line parameter?

Any thoughts would be appreciated.

Many thanks.
Mike

EricLaw

unread,
May 2, 2011, 9:55:33 AM5/2/11
to Fiddler
Click Rules > Customize Rules.

Scroll to:

// Removes HTTP-caching related headers and specifies "no-cache" on
requests and responses
public static RulesOption("&Disable Caching", "Per&formance")
var m_DisableCaching: boolean = false;

And change the "false" to "true."

Note, of course, that this only impacts requests that cross the
network, not anything that might already be in the browser cache. To
deal with those, you can either clear the browser cache, or configure
the browser to disable caching (IE's F12 Developer Tools have an
option for that).

Mike Denton

unread,
May 3, 2011, 10:16:06 AM5/3/11
to Fiddler
You, sir, are a godsend.

I never even knew that that file existed. Guess I should have
'fiddled" around with the settings a bit more before coming here
looking for an answer.

But I tremendously appreciate the quick response.

I am aware of how the disable cacheing works, I use it every time I
use fiddler, I just have always been manually setting it every day for
the past year and a half :)

Thanks again.
Reply all
Reply to author
Forward
0 new messages