Keyword

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

  • 野草工作室
  • 野草工作室's Avatar Topic Author
  • Offline
  • New Member
  • 专业Joomla建站
More
10 months 5 days ago #166573 by 野草工作室
野草工作室 created the topic: Why does K2 have to load CloudFlare's CDN files?
Why does K2 have to load CloudFlare's CDN files? Front-end or background must be loaded!

This is acceptable if it is optional, but I can not change settings from the site's control panel.

I come from China, when we use K2, because of the need to load these CDNs, causing K2 to run very slowly ...

I know using CDN is to some extent to speed up loading, but for some areas may be the opposite.

If I use K2 for my intranet article content system, the website will not be available without Internet access.

Hope later updated version, at least to switch localhost load, so that can can meet the needs of different situations

thank you very much


野草工作室提供专业Joomla建站服务
http://www.ycway.com

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

More
10 months 2 days ago #166610 by Krikor Boghossian
Krikor Boghossian replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello there,

We were not aware of this isn't CloudFlare available in China?
www.cloudflare.com/network/china/

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • 野草工作室
  • 野草工作室's Avatar Topic Author
  • Offline
  • New Member
  • 专业Joomla建站
More
9 months 3 weeks ago #166755 by 野草工作室
野草工作室 replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

If the site is located somewhere in the world and is not accessible or slow to users in China, using CloudFlare CDN may allow it to access or speed up access.

However, if the website itself is set up in China, the user access in China is extremely fast. After using CloudFlare CDN, the access speed to users in China is seriously affected.

I think such a problem, not only in China, but also in other parts of the user may also be affected.

If you can use the local server files, why must be use CDN?

I hope K2 will be able to handle more usage scenarios and needs, more people love and use.

Thank you.


野草工作室提供专业Joomla建站服务
http://www.ycway.com

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

More
9 months 3 weeks ago #166772 by Krikor Boghossian
Krikor Boghossian replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

2.8.1 Will be released shortly. We will try to include an option.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • 野草工作室
  • 野草工作室's Avatar Topic Author
  • Offline
  • New Member
  • 专业Joomla建站
More
9 months 3 weeks ago #166810 by 野草工作室
野草工作室 replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

Well done, thank you for your work!


野草工作室提供专业Joomla建站服务
http://www.ycway.com

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
9 months 1 week ago #166912 by Fotis
Fotis replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hi there,

could you please let me know (verify) whether any of these CDNs is blocked in China?

www.jsdelivr.com/
unpkg.com/

There seems to be a chinese CDN for JS and CSS libs ( www.staticfile.org/?ln=en ) but its catalog is not up to date unfortunately.


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.

  • 野草工作室
  • 野草工作室's Avatar Topic Author
  • Offline
  • New Member
  • 专业Joomla建站
More
8 months 1 week ago - 8 months 1 week ago #167404 by 野草工作室
野草工作室 replied the topic: Why does K2 have to load CloudFlare's CDN files?


In this case, it takes only tens of milliseconds for my website to load a local file, and it takes more than a minute to load a CDN file, which greatly affects the work.

I always believe that the CDN can only speed up the network in certain circumstances, but it is not a panacea, and in some cases it will have counterproductive effects. K2 should be open. It should be possible to choose whether or not to load CDN files, rather than generalize.


野草工作室提供专业Joomla建站服务
http://www.ycway.com
Attachments:
Last Edit: 8 months 1 week ago by 野草工作室.

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

More
8 months 1 week ago #167426 by Krikor Boghossian
Krikor Boghossian replied the topic: Why does K2 have to load CloudFlare's CDN files?
Thank you for letting us know.
You can track the progress of the feature request here github.com/getk2/k2/issues/447

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
6 months 2 weeks ago #168055 by Roland
Roland replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

when 2.8.1 is ready? Is there an option to deactivate Cloudflare?

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

More
6 months 2 weeks ago #168082 by Krikor Boghossian
Krikor Boghossian replied the topic: Why does K2 have to load CloudFlare's CDN files?
Hello,

Unfortunately 2.8.1 is not ready yet.
You can try a 'hack' for the time being and change the links that point to CloudFlare to your local files in this file github.com/getk2/k2/blob/master/administrator/components/com_k2/helpers/html.php#L105

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white