[date:html_year] token used on the SEO Tools recipe for meta tags causes the site to be uncacheable
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3519553. --> Reported by: [thejimbirch](https://www.drupal.org/user/2507260) Related to !536 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>After applying the SEO Tools recipe, the site's <code>x-drupal-dynamic-cache</code> header becomes uncacheable.</p> <p>The token <code>[date:html_year]</code> relies on the current date, which changes daily and annually. Since the value changes with time but is not tied to user-specific or request-specific cache contexts, Drupal cannot safely cache it without risking outdated output.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Install Drupal CMS. Verify <code>x-drupal-dynamic-cache</code> is a HIT for non-logged in users.<br> Login and apply the SEO Tools recipe.<br> Verify <code>x-drupal-dynamic-cache</code> is UNCACHEABLE for non-logged in users.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Replace the token with a hard coded year in the 3 metatags. Updated them in 2026.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>N/A</p> <h3 id="summary-data-model-changes">Configuration changes</h3> <p>Three meta tag configs.</p>
issue