R2 Cache-Control: public Cannot find response header in Transform Rules

I want to add cache-concontrl in response header via Transform Rules.

I can’t find modify response header from Then section according to the post

[How to set R2 Cache-Control: public](How to set R2 Cache-Control: public solution)

Could anyone please help me to find overwrite response header section from UI?

Under Transform Rules click “Modify Response Header”, and then create a rule under that:

If you just wanted to enable edge caching though, you would want a Caching → Cache Rule, marking Eligible for Cache and you can customize the edge ttl/browser ttl there.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.