Back to articles

How do I disable one or more Fasterize optimizations via the URL?

Want to disable certain Fasterize optimizations to diagnose behavior or test a debug hypothesis? Good news: you can do this easily, without touching the global configuration, simply by adding parameters to the URL. In this article, we explain how to disable (or enable) rules, either temporarily or permanently, and how to adjust certain advanced options.

Introduction

Would you like to disable certain Fasterize optimizations to diagnose behavior or test a debug hypothesis?

Good news: you can do this easily, without changing the overall configuration, simply by adding parameters to the URL.

In this article, we explain how to disable (or enable) rules, either temporarily or permanently, and how to adjust certain advanced options.

Disable a rule for a specific page

To disable a rule only on the URL you are visiting, use the following syntax:

?frz-[rule]=false

💡 You can also write ?frz-[rule]=true to force activation if necessary.

Persistently disable a rule (via session cookie)

Certain rules apply to resources loaded in subrequests (images, scripts, fonts, etc.).

In this case, adding the parameter to the main URL is not sufficient, as it will not be passed on to linked resources.

To disable a rule on all requests in the session, use the following form:

?frz-persist-[rule]=false

💡 To verify that the cookie has been set correctly, open the Application tab in DevTools, under Cookies.

Disable all Fasterize optimizations

If you want to see how a site behaves without any Fasterize optimization, you can disable all rules at once:

?frz-optimize=false

Disable a specific option in a rule

Some Fasterize rules have advanced options that you can also manipulate via the URL.

Syntax:

?frz-[rule]-[option]=value

Some examples:

💡 These settings are very useful for quickly testing a configuration hypothesis without reconfiguring the site in the interface.

List of available rules and settings

Rules that can be disabled via ?frz-[rule]=false

Rules with session cookies (?frz-persist-[rule]=false)

Examples of options that can be disabled

Conclusion

Fasterize URL parameters are valuable allies for:

They allow you to remain independent in your testing, without depending on a global configuration change.

💡 Consider opening a private browsing window or clearing your cookies to start with a clean slate.