Create a Rule to Disable Caching

Updated on Nov 11, 2025

Environment

ProductFiddler Everywhere

Description

I want to always get the latest content from the server. How to prevent the server or client application from caching an HTTP(S) Request or Response?

Solution

You can use the Rules tab to create and apply a rule for all traffic that goes through the proxy.

  • Create a condtition that matches all captured trafficc. For demonstartion purposes we are using regular expression .* which matches every string. Matching all traffic through ReGex

  • Add actions to overwrire and remove all HTTP Requests and Responses Headers that are related to caching:

    Fiddler ActionHeadersValueAction
    Update Request HeaderIf-Modified-SinceanyRemove
    Update Request HeaderPragmano-cacheSet Value
    Update Request HeaderCache-Controlno-cache, no-store, must-revalidateSet Value
    Update Response HeaderExpires, Last-Modified, ETaganyRemove
    Update Response HeaderExpires0Set Value
    Update Response HeaderCache-Controlno-cache, no-store, must-revalidateSet Value

    As a result, the newly created rule looks like this: Disable Caching rules

  • Enable the Rules tab and the newly created rule. Enabling the rule

See Also