Skip to content

Conversation

@typotter
Copy link
Collaborator

@typotter typotter commented Apr 7, 2025

🎟️ Fixes FF-4278 and FF-3947

Motivation and Context

Updating the cache timestamp when it hasn't change causes issues when invalidating the cache based solely on time (and not on the eTag).
While we're here, we want to default the SDKs to squash exceptions during initialization

Description

  • Set the timestamp only if there are changes
  • Additional init parameter to suppress exceptions on init
  • cleaned up superfluous exception throwing.

How has this been documented?

linear

How has this been tested?

  • unit tests

@typotter typotter requested review from iamnirav and sameerank and removed request for iamnirav April 7, 2025 19:17
Copy link

@sameerank sameerank left a comment

Choose a reason for hiding this comment

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

Questions to help me understand, but lgtm otherwise

@typotter typotter changed the title Typo/ff 4278 php sdk only update cache timestamp when changes are made fix: set cache timestamp only when changes are made Apr 7, 2025
@typotter typotter merged commit 042071e into main Apr 7, 2025
1 check 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