HTTP Cache-Control Builder

Generate a response Cache-Control value using common caching directives.

Your input

Processed in your browser

Loading tool…

Your result

Ready when you are
Enter your input and select Generate.

About the tool

Generate a response Cache-Control value using common caching directives.

Try the built-in example to see the required input format and expected result.

Using the result

The built-in example offers PDF, TXT download options. Use Copy result when the result includes text or a table.

How to use HTTP Cache-Control Builder

  1. Select Try an example to load sample input, or enter your own details below.
  2. Scope: public, private or no-store Use the example to check the expected format.
  3. Max age in seconds Enter a number in the units shown in the label. Minimum: 0.
  4. Stale while revalidate (seconds) Enter a number in the units shown in the label. Minimum: 0.
  5. Select Generate and review the result. Use Reset to clear your work.

Frequently asked questions

What does HTTP Cache-Control Builder do?

Generate a response Cache-Control value using common caching directives.

What input do I need?

Scope: public, private or no-store, Max age in seconds, Stale while revalidate (seconds). Select Try an example to see the format.

How can I save my result?

The built-in example offers PDF, TXT download options. Use Copy result when the result includes text or a table.

Where does the tool process my input?

Tool processing runs in your browser.