From 93cea685beda27e60125c13a6e7cd39bbb38b38f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Laroche Date: Mon, 18 Aug 2025 19:17:28 -0400 Subject: [PATCH] Remove legacyHostCache from demo pages --- README.md | 3 --- demos/vanilla/identify.html.tpl | 1 - demos/vanilla/nocookies/identify.html.tpl | 1 - demos/vanilla/nocookies/profile.html.tpl | 1 - demos/vanilla/nocookies/targeting/gam360-cached.html.tpl | 1 - demos/vanilla/nocookies/targeting/gam360.html.tpl | 1 - demos/vanilla/nocookies/targeting/pair.html.tpl | 1 - demos/vanilla/nocookies/targeting/prebid.html.tpl | 1 - demos/vanilla/nocookies/witness.html.tpl | 1 - demos/vanilla/pair/index.html.tpl | 1 - demos/vanilla/profile.html.tpl | 1 - demos/vanilla/targeting/gam360-cached.html.tpl | 1 - demos/vanilla/targeting/gam360.html.tpl | 1 - demos/vanilla/targeting/prebid.html.tpl | 1 - demos/vanilla/uid2_token/login.html.tpl | 1 - demos/vanilla/witness.html.tpl | 1 - 16 files changed, 18 deletions(-) diff --git a/README.md b/README.md index 0596711..17a0406 100644 --- a/README.md +++ b/README.md @@ -114,9 +114,6 @@ When creating an instance of `OptableSDK`, you can pass an `InitConfig` object t - **`cookies` (boolean, default: `true`)** If `true`, enables the use of browser cookies for storage. -- **`legacyHostCache` (string)** - Used when migrating from one DCN host to another. If specified, it retains the previous cache state when switching hosts. - - **`initPassport` (boolean, default: `true`)** If `true`, initializes the user passport (identity mechanism) upon SDK load. diff --git a/demos/vanilla/identify.html.tpl b/demos/vanilla/identify.html.tpl index a4c1274..5b09cb6 100644 --- a/demos/vanilla/identify.html.tpl +++ b/demos/vanilla/identify.html.tpl @@ -21,7 +21,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/identify.html.tpl b/demos/vanilla/nocookies/identify.html.tpl index 1c722ec..53731dc 100644 --- a/demos/vanilla/nocookies/identify.html.tpl +++ b/demos/vanilla/nocookies/identify.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/profile.html.tpl b/demos/vanilla/nocookies/profile.html.tpl index 700a5c4..fc8f117 100644 --- a/demos/vanilla/nocookies/profile.html.tpl +++ b/demos/vanilla/nocookies/profile.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/targeting/gam360-cached.html.tpl b/demos/vanilla/nocookies/targeting/gam360-cached.html.tpl index 1d4488f..08136b6 100644 --- a/demos/vanilla/nocookies/targeting/gam360-cached.html.tpl +++ b/demos/vanilla/nocookies/targeting/gam360-cached.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/targeting/gam360.html.tpl b/demos/vanilla/nocookies/targeting/gam360.html.tpl index b8d420d..18de2bc 100644 --- a/demos/vanilla/nocookies/targeting/gam360.html.tpl +++ b/demos/vanilla/nocookies/targeting/gam360.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/targeting/pair.html.tpl b/demos/vanilla/nocookies/targeting/pair.html.tpl index 1d4488f..08136b6 100644 --- a/demos/vanilla/nocookies/targeting/pair.html.tpl +++ b/demos/vanilla/nocookies/targeting/pair.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/nocookies/targeting/prebid.html.tpl b/demos/vanilla/nocookies/targeting/prebid.html.tpl index a5155bd..c915be0 100644 --- a/demos/vanilla/nocookies/targeting/prebid.html.tpl +++ b/demos/vanilla/nocookies/targeting/prebid.html.tpl @@ -28,7 +28,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", initTargeting: true, }); diff --git a/demos/vanilla/nocookies/witness.html.tpl b/demos/vanilla/nocookies/witness.html.tpl index ffbe5ce..faa9301 100644 --- a/demos/vanilla/nocookies/witness.html.tpl +++ b/demos/vanilla/nocookies/witness.html.tpl @@ -22,7 +22,6 @@ site: "${DCN_SITE}", cookies: false, node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/pair/index.html.tpl b/demos/vanilla/pair/index.html.tpl index 44544b2..47c47ec 100644 --- a/demos/vanilla/pair/index.html.tpl +++ b/demos/vanilla/pair/index.html.tpl @@ -22,7 +22,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", cookies: cookiesTransport, }); }); diff --git a/demos/vanilla/profile.html.tpl b/demos/vanilla/profile.html.tpl index c624a7a..bbaa16d 100644 --- a/demos/vanilla/profile.html.tpl +++ b/demos/vanilla/profile.html.tpl @@ -21,7 +21,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/targeting/gam360-cached.html.tpl b/demos/vanilla/targeting/gam360-cached.html.tpl index 92566a3..ac1bea1 100644 --- a/demos/vanilla/targeting/gam360-cached.html.tpl +++ b/demos/vanilla/targeting/gam360-cached.html.tpl @@ -21,7 +21,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/targeting/gam360.html.tpl b/demos/vanilla/targeting/gam360.html.tpl index 02086de..7628795 100644 --- a/demos/vanilla/targeting/gam360.html.tpl +++ b/demos/vanilla/targeting/gam360.html.tpl @@ -21,7 +21,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/targeting/prebid.html.tpl b/demos/vanilla/targeting/prebid.html.tpl index e387066..d5c3b8e 100644 --- a/demos/vanilla/targeting/prebid.html.tpl +++ b/demos/vanilla/targeting/prebid.html.tpl @@ -27,7 +27,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/uid2_token/login.html.tpl b/demos/vanilla/uid2_token/login.html.tpl index 306e259..403389c 100644 --- a/demos/vanilla/uid2_token/login.html.tpl +++ b/demos/vanilla/uid2_token/login.html.tpl @@ -23,7 +23,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams(); diff --git a/demos/vanilla/witness.html.tpl b/demos/vanilla/witness.html.tpl index 96f0863..86b4cad 100644 --- a/demos/vanilla/witness.html.tpl +++ b/demos/vanilla/witness.html.tpl @@ -21,7 +21,6 @@ initPassport: JSON.parse("${DCN_INIT}"), site: "${DCN_SITE}", node: "${DCN_NODE}", - legacyHostCache: "${DCN_LEGACY_HOST_CACHE}", }); optable.instance.tryIdentifyFromParams();