Hi @j007,
Thank you for reaching out and sharing your concerns regarding website performance. I completely understand how frustrating it can be when a third-party resource impacts loading speed.
HappyAddons utilizes unpkg.com, a widely used CDN, to serve certain external libraries efficiently. CDNs are often chosen for their ability to deliver assets quickly from distributed servers, reducing the load on your own hosting. However, I understand that relying on an external service isn’t ideal in all cases, especially if connectivity issues occur.
If you’d prefer to load these assets locally instead of from the CDN, here are a few potential solutions:
- Some plugins provide an option to load assets locally instead of from a CDN. Let me know if you’re open to checking the HappyAddons settings for this.
- If you’d like to self-host the required scripts, you can download the necessary files and enqueue them from your server instead. I’d be happy to guide you through this process.
- There are plugins available that allow you to prevent external script loading. However, this might require additional configuration to ensure compatibility.
Could you also confirm which specific scripts from unpkg.com are causing issues on your site? This will help us assess whether there’s an alternative approach to mitigate the slowdown.
Looking forward to your response!
Thread Starter
j007
(@j007)
Hello, all the scripts on unpkg.com have been causing problems, as the CDN was unavailable for many hours last Saturday.
But that’s not the only issue here. Since I’m here in Europe, using a CDN isn’t permitted unless absolutely necessary. It’s similar to using the Google CDN for Google Fonts. Those are the laws here… You can’t do anything about it, and I can’t do anything about it either, but that’s just how it is here. Maybe you don’t know that.
Besides, I can use a CDN myself if needed; there’s no need to force it. A website for a pizzeria that only wants to present itself locally doesn’t need a CDN.
Just load all the files locally and let the user decide whether they want to use a CDN or not. That way, you have fewer problems and less hassle.
In its current form, the use of your plugin is not permitted in Europe.
Hi @j007,
Thank you for sharing your concerns about the use of CDNs in HappyAddons. We understand the importance of compliance with regional regulations, especially in Europe, where data privacy laws are more stringent.
We sincerely apologize for any inconvenience caused by the reliance on unpkg.com. Our goal is to ensure that HappyAddons functions optimally for all users, regardless of their location. We recognize that some users may prefer or even be required to load assets locally rather than through a third-party CDN.
We will forward your feedback to our development team to explore the possibility of providing an option to serve all assets locally. In the meantime, if you need a temporary workaround, you might consider manually hosting the required assets on your own server and modifying the plugin to load them locally.
We truly appreciate your input, as it helps us improve the plugin for all users. If you have any further details or suggestions on how we can better accommodate this requirement, please feel free to share.