COMMUNITY FORUM
Why does K2 have to load CloudFlare's CDN files?
- 野草工作室
- Topic Author
- Offline
- New Member
- 专业Joomla建站
Less
More
6 years 9 months ago #166573
by 野草工作室
野草工作室提供专业Joomla建站服务
www.ycway.com
Why does K2 have to load CloudFlare's CDN files? was created by 野草工作室
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
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建站服务
www.ycway.com
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 9 months ago #166610
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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/
We were not aware of this isn't CloudFlare available in China?
www.cloudflare.com/network/china/
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- 野草工作室
- Topic Author
- Offline
- New Member
- 专业Joomla建站
6 years 9 months ago #166755
by 野草工作室
野草工作室提供专业Joomla建站服务
www.ycway.com
Replied by 野草工作室 on 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.
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建站服务
www.ycway.com
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 9 months ago #166772
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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.
2.8.1 Will be released shortly. We will try to include an option.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- 野草工作室
- Topic Author
- Offline
- New Member
- 专业Joomla建站
6 years 9 months ago #166810
by 野草工作室
野草工作室提供专业Joomla建站服务
www.ycway.com
Replied by 野草工作室 on topic Why does K2 have to load CloudFlare's CDN files?
Hello,
Well done, thank you for your work!
Well done, thank you for your work!
野草工作室提供专业Joomla建站服务
www.ycway.com
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 8 months ago #166912
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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.
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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- 野草工作室
- Topic Author
- Offline
- New Member
- 专业Joomla建站
6 years 7 months ago - 6 years 7 months ago #167404
by 野草工作室
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建站服务
www.ycway.com
Replied by 野草工作室 on 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建站服务
www.ycway.com
Last edit: 6 years 7 months ago by 野草工作室.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 7 months ago #167426
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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
You can track the progress of the feature request here github.com/getk2/k2/issues/447
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Roland
- Offline
- Junior Member
Less
More
- Posts: 24
6 years 5 months ago #168055
by Roland
Replied by Roland on 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?
when 2.8.1 is ready? Is there an option to deactivate Cloudflare?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 5 months ago #168082
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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
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
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.