Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Google Ajax API CDN

Google Ajax API CDN 3 Jahre 4 Monate her #62490

  • Diamens
  • Diamenss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 16
  • Karma: 0
Option to use Google Content Delivery Network for jQuery library.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Google Ajax API CDN 2 Jahre 7 Monate her #76324

  • jun9
  • jun9s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Dank erhalten: 1
  • Karma: 0
Yeah! Although it's very easy to edit php source code to make use of Google CDNs, but why not add that?
Is there any particular version/change requirement in limesurvey jquery/jquery UI?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Google Ajax API CDN 2 Jahre 7 Monate her #76357

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5333
  • Dank erhalten: 296
  • Karma: 249
Diamens, can you please outline the benfit in more detail.

You can add this as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation as well.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Google Ajax API CDN 2 Jahre 7 Monate her #76444

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6451
  • Dank erhalten: 844
  • Karma: 249
Mazi schrieb:
Diamens, can you please outline the benfit in more detail.

You can add this as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation as well.
Hello,

I think it's very important to have an option to activate/deactivate. Some installation are on internal server without web access, some user don't want to use more "private" service like google, google can change the way you can access to jquery/jquery-ui library etc ...

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Google Ajax API CDN 2 Jahre 7 Monate her #76539

  • jun9
  • jun9s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Dank erhalten: 1
  • Karma: 0
Of course CDN reference should always be used with backup, like this:
<script src="google cdn jquery"></script>
    <script>window.jQuery || document.write('<script src="local jquery"></script>')</script>
or if use Modernizr.load :
Modernizr.load([
  {
    load: 'google cdn jquery ',
    complete: function () {
      if ( !window.jQuery ) {
            Modernizr.load('local jquery');
      }
    }
  },
  {
    // This will wait for the fallback to load and
    // execute if it needs to.
    load: 'needs-jQuery.js'
  }
]);
That's why we need that header.pstpl too.
Letzte Änderung: 2 Jahre 7 Monate her von jun9.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Google Ajax API CDN 2 Jahre 7 Monate her #76552

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6451
  • Dank erhalten: 844
  • Karma: 249
jun9 schrieb:
Of course CDN reference should always be used with backup, like this:
I don't speak of backup,

But : by default : local call
Option to put CDN in global configuration of LS.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Ladezeit der Seite: 0.170 Sekunden
Donation Image