Allow locally hosted/cached lottie-player.js

Created on 21 August 2024, 6 months ago
Updated 13 December 2024, 2 months ago

Problem/Motivation

This module pulls the player JS from https://unpkg.com

This might not be the best solution for all users considering data protection and performance reasons.

Proposed resolution

Allow caching the library on server side, just like the matomo module does it, cf. https://git.drupalcode.org/search?search=matomo_cache&nav_source=navbar&...

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇦🇹Austria tgoeg

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

Comments & Activities

  • Issue created by @tgoeg
    • ac33162a committed on 2.0.x
      Issue #3469492: Allow locally hosted/cached lottie-player.js
      
  • 🇮🇳India harivenuv India

    Hi @tgoeg

    Thank you for raising this concern. I understand that pulling the player JS from an external source like https://unpkg.com might not be suitable for all users due to data protection and performance considerations.

    To address this, I have already moved the file to a local path. Here's the updated configuration for the lottiefiles library

    This ensures that the file is served locally, improving performance and addressing potential data privacy concerns. Please let me know if you have any additional feedback or suggestions.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024