Allow disabling CDN

Created on 18 December 2024, 4 months ago

Problem/Motivation

This module requires an external library for certain functionality, but it's not installed via composer, so it is loaded from a CDN as a fallback. Loading resources from third parties requires consent from the user in some places, so this is not an ideal solution from a privacy perspective. And privacy compliance is a high-priority feature for Drupal CMS, so we would love to find a resolution to this, since BEF is included in Drupal CMS for several recipes.

Proposed resolution

Have a config variable that prevents any use of a CDN by this module. Any functionality that depends on the library would be disabled if the library is not available.

Remaining tasks

TBC

User interface changes

Addition of config variable.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

7.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

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

Comments & Activities

  • Issue created by @Liam Morland
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Seems like a dup of the referenced issue.

  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    That one is about creating a mirror. This one is about preventing it from falling-back to a CDN.

    Some users will not be using the slider, so they don't need the library to be installed but they also want to prevent the CDN from being used inadvertently and also don't want to see a warning about it on the status page.

Production build 0.71.5 2024