Use preconnect and preload tags

Created on 8 July 2024, 4 months ago
Updated 12 July 2024, 4 months ago

Problem/Motivation

Add preconnect and preload tags to cdn.optimizely.com at the top of the head for faster synchronous loading. Optimizely recommends using preconnect to open a connection to logx.optimizely.com, the event endpoint, beforehand.
https://support.optimizely.com/hc/en-us/articles/4410289759629-Site-performance-best-practices#h_01FJ03FEV0A5NDYQWP860YG9VS

Steps to reproduce

Log into any page that has optimizely turn on with the module. Preconnect and preload tags should be in the header

Proposed resolution

Add the tags to "optimizely_page_attachments" function in the .module file.

✨ Feature request
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bwl7sju New York

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024