Contentful Personalization & Analytics
    Preparing search index...
    • Create a deterministic, versioned cache key for an optimization render.

      Parameters

      • input: {
            entryIds?: readonly string[];
            locale?: string;
            scope: OptimizationCacheScope;
            selectedOptimizations?: {
                experienceId: string;
                sticky?: boolean;
                variantIndex: number;
                variants: Record<string, string>;
            }[];
        }

        Cache scope and optional render dimensions.

      Returns string

      Readable v1 cache key containing scope, locale, entry IDs, and selection fingerprint.