Skip to main content

Header Override

The Header Override script config allows you to specify static values which should be sent to the origin in place of values which were provided during the request.

To add a Header Override script config to the list of script configs created for your CacheFly services in general, or to associate a Header Override script config with a specific CacheFly service, see Adding and Using Script Configs.

Using the Header Override Script Config

Note that only specific headers may be overridden.

For the complete list of headers available for header override, see the initial configuration when you first add Header Override as a new script config (default configuration.)

Editing the Header Override Script Config

When you add the Header Override script config to your list of script configs in CacheFly, it will initially display a default configuration as a model for you to adapt to your own requirements.

To edit this default configuration:

  • Click the blue Edit button to enter edit mode

  • Modify the script config as you require

  • Remember to click the blue ✔ Save Changes button to save your changes.

As you edit:

  • The CacheFly system shows on-screen prompts to help you select acceptable parameters and values.

  • The blue ✔ Save Changes button will be partially grayed out and will be inactive, until the system confirms that your edits are acceptable.

  • You can cancel your current edits by clicking the gray Cancel button.

Scroll the graphics in this step horizontally to see all the screens.

Additional Help Topics

As an alternative to creating and managing script configs via the CacheFly user interface as described in this guide, you can also create and manage script configs via API calls.

Click the gray API docs button to access the Script Configs section in CacheFly's online API documentation for further information.