Recent Topics

V6.4.3: Update 5.2.2 to 6.4.3 - external scripts

Started by on Jun 03, 2015 – Contents updated: Jun 10, 2015

Jun 03, 2015 00:06    

If I use my firefox (kubuntu 14.04, ff 38.0) to log in onto my site and administrate something, it needs much of time. Really big much of time to handle.

If I use chromium for the same thing, it will works really quick. So I guess, the new version will need external scripts, which are in my firefox blocked for security. Only scripts from the domain are allowed.

Are there scritps from external servers necessary?

05 Jun 2015 03:06

The scripts are totally necessary.

It loads scripts like jQuery from public CDNs which are well known and that you should probably whitelist.

You can also disable loading from CDNs. There is a setting in the advanced config file.

06 Jun 2015 17:36

As I said in a posts last time: it is okay to have this scripts local, no problem. But some users wish/block scripts from other domains than the blog domain. So it should work without loadings scripts from other domains.

07 Jun 2015 00:43

Please make an option to "disable_all_external_calls". I often have this problem when working with Wordpress on localhost with no internet connection (in their case, the biggest issue is the external google fonts and gravatar calls).

IMO, we shouldnt assume internet connection is present, or external calls are allowed. Personally I like having my scripts loaded both "locally" & "manually". Mainly because of 2 reasons:
1- I do not trust any service / provider. Even if that's Google. They shutdown stuff all the time, there is no guarantee. If my website is gonna go down, or break, it should be because of one and only reason, my server going down itself.

2- //jquery-latest.js etc. may break things over time. I prefer loading for example; jquery-1.3.2.js and change it with jquery-1.4 manually if necessary.

As for solution; I think the way to go is simply making it default to load scripts locally, and optionally from CDN's - not the other way around. Or, provide a fallback solution of some sorts.
And oh, instead of modifying advanced.php, it might be nice to have it as an option in the BO

@fplanque wrote earlier:

The scripts are totally necessary.

It loads scripts like jQuery from public CDNs which are well known and that you should probably whitelist.

You can also disable loading from CDNs. There is a setting in the advanced config file.

10 Jun 2015 03:23

/conf/_advanced.php:

/**
 * Use CDN urls of the array $library_cdn_urls below
 * Set to FALSE in order to use the LOCAL urls of the array $library_local_urls
 *
 * @global boolean $use_cdns
 */
$use_cdns = true;

10 Jun 2015 12:22

I was looking for "favorite topic" option to remember this one, and realized we are missing that future after the migration. I dont think we have something like that right now do we ? Or is it in the plans, should i ask in feature requests for the forums


Form is loading...

RWD CMS – This forum is powered by b2evolution CMS, a complete engine for your website.