Keyword

Why does K2 have to load CloudFlare's CDN files?

More
1 week 3 days ago #170486 by Roland
Roland replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

currently the version 2.9.0 is stable.
Is there in meantime an option to deactivate CDN loads or do I have further to modify core files?

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #170497 by Fotis
Fotis replied the topic: Why does K2 have to load CloudFlare's CDN files?
In the upcoming K2 v2.10.0 (currently 2.9.1 on GitHub) we use jsDelivr's CDN so the K2 package is smaller and so client-side performance is better. There is no option to disable it currently.

If you wish to manually change the CDN references, only 4 files contain jsDelivr URLs:
/administrator/components/com_k2/elements/k2tags.php
/administrator/components/com_k2/elements/k2users.php
/administrator/components/com_k2/helpers/html.php
/administrator/components/com_k2/helpers/stats.php


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #170499 by Roland
Roland replied the topic: Why does K2 have to load CloudFlare's CDN files?
According our GDPR we really need such an option to disable complete CDN loads.

Please insert such an option so we don´t need to change manually core files which gets overwritten on each update...

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago - 1 week 2 days ago #170507 by Fotis
Fotis replied the topic: Why does K2 have to load CloudFlare's CDN files?
That's exactly the reason we switched from CDNJS (by CloudFlare) to jsDelivr. The latter stores nothing personal from users. See this: github.com/jsdelivr/jsdelivr/issues/18067


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member
Last Edit: 1 week 2 days ago by Fotis.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #170523 by Roland
Roland replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,
I think it would be also a great feature if your users have the ability to decide if they want to use CDN.
Such a features should not explode your development ressources I think...

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 16 hours ago #170540 by Fotis
Fotis replied the topic: Why does K2 have to load CloudFlare's CDN files?
Like I said, it increases the package size a lot.

But any developer could make a plugin that makes K2 "GDPR friendly" by dynamically replacing the CDN URLs.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white