getk2 / k2

K2 - the powerful content extension for Joomla
https://getk2.org
GNU General Public License v3.0
136 stars 95 forks source link

Feature Request: Add option to load static files locally #447

Closed kricore closed 5 years ago

kricore commented 6 years ago

Cloudflare seems to be behaving strangely in certain areas. Sauce here: https://www.joomlaworks.net/forum/k2-en/48974-why-does-k2-have-to-load-cloudflare-s-cdn-files#166810

ycway commented 6 years ago

I really need this feature because the loading of these CDN files will affect my site management and browsing.

Thanks.

afonic commented 6 years ago

This would be a good feature, because loading from a CDN also affects developing when offline. I know it's not very frequent but I often develop sites without a reliable internet connection and if I clear the browser's cache the backend does not work.

So an option to load the files locally would help issues like these.

fevangelou commented 6 years ago

To bypass China's firewall, we'll just add jsdelivr.com as a 2nd option for all static assets from 3rd parties. As for bundling all that stuff with K2, well, I don't know... Maybe we'll add some PWA friendly integration (service worker) so the static assets are fetched and stored by the browser before you go offline.

errotu commented 5 years ago

Is there any development regarding this? Also keeping in mind the GDPR it would make sense to have an option to load static files locally.

Thanks for all your great work!