Skip to content

Spike: Investigate Conditional CSS Loading with Fastly CDN for BoostLook Feature Flag System #2153

@henryajisegiri

Description

@henryajisegiri

Background

The new BoostLook implementation uses a feature flag to determine whether users see the
new or old site experience. However, the current Fastly CDN caching layer poses a problem:
pages cached with old CSS links won't dynamically switch to the new version when the flag
changes, and a hard browser refresh won't bypass Fastly's cache.

Goal

Understand and document a viable solution for conditionally serving the correct CSS version
based on the feature flag, without being blocked by Fastly's caching behavior.

Tasks

  • Investigate how Fastly cache can be configured or bypassed for conditional CSS loading
  • Explore other potential solutions as well
  • Document the proposed conditional serving solution so it can be implemented and reviewed by the team
  • Create a relationship diagram of the CSS pipeline to support team understanding and onboarding

Out of Scope

  • Actual implementation of the solution
  • Changes to the feature flag logic itself

Definition of Done

  • A documented solution approach for conditional CSS loading through Fastly
  • A CSS pipeline relationship diagram shared with the team

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions