Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CACHE-12946: add compatibility flag to override cache rules via cache… #3544

Merged
merged 3 commits into from
Feb 26, 2025

Conversation

yj7o5
Copy link
Contributor

@yj7o5 yj7o5 commented Feb 13, 2025

Similar to #3342 adding a new compatibility flag to allow overriding cache rules via the request.cf object that can be specified on the cache.put(Request) API.

Currently, if a resource is PUT via the cache API and have cache settings such as cacheEverything: true specified in the 'cf' object, while there is also cache rules defined against that resource, the cache settings in request cf object isn't respected. Cache team is working on fixing this behavior to give precedence over to request cf object first and then to cache rules, however, we are hiding this behavior behind a compatibility flag until we're confident the change works as intended for everyone.

@yj7o5 yj7o5 requested review from a team as code owners February 13, 2025 23:04
@yj7o5 yj7o5 requested review from erikcorry and mar-cf February 13, 2025 23:04
Copy link

github-actions bot commented Feb 13, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@yj7o5
Copy link
Contributor Author

yj7o5 commented Feb 13, 2025

I have read the CLA Document and I hereby sign the CLA

@yj7o5 yj7o5 force-pushed the yawar/CACHE-12046_ew-cf-api-override branch from 7dadfca to 6d52401 Compare February 13, 2025 23:09
@yj7o5
Copy link
Contributor Author

yj7o5 commented Feb 14, 2025

recheck

@yj7o5
Copy link
Contributor Author

yj7o5 commented Feb 21, 2025

recheck

Copy link
Collaborator

@danlapid danlapid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change existing flags, create a new number for your flag

Copy link
Collaborator

@danlapid danlapid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change existing flags, create a new number for your flag

Copy link
Collaborator

@danlapid danlapid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not change existing flags, create a new number for your flag

@yj7o5 yj7o5 force-pushed the yawar/CACHE-12046_ew-cf-api-override branch from 0d0a0d4 to 9f920c1 Compare February 25, 2025 13:33
@yj7o5 yj7o5 requested review from a team as code owners February 25, 2025 13:33
@yj7o5 yj7o5 force-pushed the yawar/CACHE-12046_ew-cf-api-override branch from 9f920c1 to 6d52401 Compare February 25, 2025 13:35
@yj7o5 yj7o5 force-pushed the yawar/CACHE-12046_ew-cf-api-override branch from 6d52401 to f3c9248 Compare February 25, 2025 13:38
@yj7o5
Copy link
Contributor Author

yj7o5 commented Feb 25, 2025

sorry @danlapid fixed now, also can this please be approved and merged now? this PRs been sitting in the queue for almost 2 weeks now?

@yj7o5
Copy link
Contributor Author

yj7o5 commented Feb 25, 2025

@danlapid is there a way to run these workflows? I don't know status are they waiting for to be reported on ...

@danlapid danlapid merged commit 0ca7b63 into cloudflare:main Feb 26, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants