t3framework / t3

T3 Framework - (Core Plugin & Blank Template)
GNU General Public License v2.0
272 stars 160 forks source link

Utilise free CDNs #104

Open willfaulds opened 11 years ago

willfaulds commented 11 years ago

I've spent the last couple of day looking into T3v3 thoroughly and I like what's there but I find it quite slow at the moment.

Perhaps some of the stock libraries could be called from CDNs?

e.g. http://www.bootstrapcdn.com/index.html http://cdnjs.com/ https://developers.google.com/speed/libraries/devguide

Any thoughts?

locii commented 11 years ago

Another great idea - get smy vote.

Perhaps a function available for the user to select local or cdn options?

pepperstreet commented 11 years ago

@willfaulds Was about to post the same idea/question. ;-) @locii Hello Anthony! Totally agree, option would be fine!

griiettner commented 11 years ago

I like the idea, but still need to leave an option to load local file... this is good when working localhost. I found when you have CDN and are working localhost, the website becomes very sllow, all depends what part of the world you are...

locii commented 11 years ago

I agree. I think a simple switch local or cdn will solve this.

locii commented 11 years ago

My only question here though is that since T3 loads the JUI version of jQuery then perhaps it's the core Joomla behaviour that would need to be changed?

Since the behaviour prevents extra instances of jQuery loading so if we remove that cal and replace it with a cdn version then if another extension calls the behaviour we will end up with two versions of jQuery on the site.

Same goes for the core bootstrap js files.

The css files cant be hosted remotely because they are generated from LESS.

simbus82 commented 11 years ago

For me is a great solution to solve a lot of problem in "speed optimization". (See Google Page Speed and YSlow).

Now a normal T3 Framework-based site load ~15 external javascript.

If we can't "merge" this files (for now, i hope you can find some solutions about that speed problem in future) could be nice to load from "cookie free" domains likes cdns.

codeeditor commented 11 years ago

Agree with @griiettner and @locii - we need to leave option to load local libraries. We can not force the user to use the CDN. I think that adding the CDN server utilization option for libraries is a good idea. However it's not must be feature since many of the people using individually chosen and configured CDN networks. I don't experience any speed issues with T3, especially with NGINX and Cloudflare but of course performance improvements are always welcome in every environment and hope that T3 will be faster and faster in the near future. +1 for idea.

alexonbalangue commented 10 years ago

have a module is here http://www.livingxworld.com/cms/joomla/open-source.html (But you need to edit script of t3_bs3_blank far eg)

hjortholm commented 10 years ago

+1 for implementing CDN usage.

pbwebdev commented 10 years ago

Great idea

On 28 June 2014 22:12, hjortholm notifications@github.com wrote:

+1 for implementing CDN usage.

— Reply to this email directly or view it on GitHub https://github.com/t3framework/t3/issues/104#issuecomment-47425881.

Regards,

Peter Bui

Director and Web Analyst

Sydney P: (02) 9357 4420 Suite 10, 2-14 Bayswater Rd, Potts Point, NSW 2011

Skype: astroboysoup