How to create a variation

Created on 1 February 2021, almost 4 years ago
Updated 15 November 2024, 1 day ago

Problem/Motivation

How to create a variation

Proposed resolution

Add documentation that shows how to create a variation

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

🇦🇺Australia hirani89

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Vary HTTP header is used by servers to indicate that the response can differ based on specific request headers. It tells caches (like browsers, proxy servers, or CDNs) to take certain request headers into account when deciding whether to reuse a cached response for subsequent requests.

    Common Use Cases

    Content Negotiation: For example, when serving different content based on:

    • Accept-Encoding (compressed vs. uncompressed content like gzip or br).
    • Accept-Language (language-specific content like en-US or fr-FR).
    • User-Agent (different versions for mobile vs. desktop).

    Customization: Serving personalized content based on headers like Authorization or Cookie.

  • Commonly Used Keys in the Vary Header
    User-Agent, Accept-Encoding, Cookie,

Production build 0.71.5 2024