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

feat: Added support for CDN cache purging #26930

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Conversation

benjackwhite
Copy link
Contributor

@benjackwhite benjackwhite commented Dec 16, 2024

Problem

We cache the remoteconfig files via the CDN. This has a 5 min ttl but ideally we want to immediately purge the cached files so that changes show up as fast as possible

Changes

  • Adds config options for this
  • Adds a step to purge the cache
  • Adds a metric to track this

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

@benjackwhite benjackwhite requested a review from a team December 16, 2024 12:42
@benjackwhite benjackwhite enabled auto-merge (squash) December 16, 2024 13:03
@benjackwhite benjackwhite merged commit 0c0087f into master Dec 16, 2024
89 checks passed
@benjackwhite benjackwhite deleted the feat/remote-config-cdn branch December 16, 2024 16:00
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.

2 participants