Fiddler AutoResponder Match only once effected by contents of Cache

3 posts, 0 answers
  1. Antonio
    Antonio avatar
    3 posts
    Member since:
    Apr 2015

    Posted 05 May 2015 Link to this post

    Hi there,

    Thank you for a marvellous product!

    I'm experimenting with AutoResponder, and have found that the "Match only once" option is effected by whatever was lasted cached...

    For instance, if I have 2 basic rules defined, both with Match only once option checked, as follows:

    1) If request matches... "sandbox", then respond with... ""

    2) If request matches... "sandbox", then respond with... ""

    Then selecting Tools > Sandbox will continue to be redirected to, and will not invoke the second rule until the cache is cleared by way of Tools > Clear WinINIT Cache...

    Forgive me if this stupid question, but is there an option somewhere in Fiddler to tell AutoResponder to override the contents of the cache?

    Many thanks!


  2. Antonio
    Antonio avatar
    3 posts
    Member since:
    Apr 2015

    Posted 05 May 2015 in reply to Antonio Link to this post

    Hi there,

    I've done some research and discovered that the Rules > Performance > Disable Caching feature will permit the AutoResponder "Match only once" option to work as expected...

    I'm confused as to why the "Disable Caching" feature is not enabled when AutoResponder is enabled?? And, is it possible to have this feature enabled at the Rule level??



  3. Eric Lawrence
    Eric Lawrence avatar
    833 posts

    Posted 06 May 2015 Link to this post

    Fiddler is a proxy; it only ever sees requests that would have hit the network. Requests that are satisfied by a known-fresh entry in a local client cache, by definition, are not sent to the network. 

    The "Disable caching" checkbox isn't as powerful as you may think it is-- it only clears the cache-related headers on requests and responses, but if the client's cache already has fresh responses, those requests will never be sent to the network and thus will never be seen by Fiddler.

    In almost all cases where you're manipulating traffic (via the AutoResponder, breakpoints, or other means) you will want to ensure that you start from a cleared cache in the browser (or have used the browser's developer options, if present, to configure it to bypass the cache for all requests).

    Eric Lawrence
Back to Top