Questions tagged [google-cdn]

This tag should be NOT used for questions regarding Google Cloud CDN, part of Google Cloud Platform; for that, use the 'google-cloud-cdn' tag instead.

For questions regarding the JavaScript libraries hosted by Google Hosted Libraries

This tag should be NOT used for questions regarding Google Cloud CDN, part of Google Cloud Platform; for that, use instead.

139 questions
10
votes
1 answer

What is the best way to override/remove certain attribute in an externally hosted css (specifically Google CDN jquery-ui.css)?

I am using Google CDN to host one of jQuery UI theme's CSS. However there are some css properties that I would like to override. I understand it's possible to do it with jQuery .removeClass() or .css(), but can I do it with my own css file? For…
hobbes3
  • 28,078
  • 24
  • 87
  • 116
8
votes
4 answers

Safari doesn't cache resources across different domains

Let’s say we have several different websites: website1.com, website2.com, website3.com. We use jQuery on all of them and include it from CDN like googleapis.com. The expected behavior from a browser would be to cache it once and use it for all other…
Daniel J F
  • 1,054
  • 2
  • 15
  • 29
7
votes
2 answers

How to include Google charts API without calling google.load()?

The jQuery, jQuery UI and Google Maps can be loaded from Google's CDN in two ways - either by using google.load(): But I prefer the syntax:
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
6
votes
1 answer

Can jQuery-UI safely be used without the CSS assets?

Can jQuery-UI safely be used without including the CSS assets? Google hosts the JS file, but I don't see any references on that page to the jQuery-UI CSS resources. What problems or issues can I expect if I include only jquery-ui.js?
Jay Taylor
  • 13,185
  • 11
  • 60
  • 85
6
votes
1 answer

Angular 1.3.14 merge(dst) does not exist

I am baffled by this one. In the angular api and on github there is a merge function which does a deep merge on two objects, unlike extend() which does a shallow copy. I use google's cdn for angular, and call angular.extend('param') works, but…
Gerardlamo
  • 1,505
  • 15
  • 21
6
votes
1 answer

How to see what is returned when a remote script is blocked

I'm using Google hosted jQuery in my webapp (//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js) As part of bug diagnostics I have a window.onerror handler which catches any errors I'm not catching locally and lets the server know about…
Pyro979
  • 202
  • 1
  • 10
5
votes
1 answer

Does google cloud have something like "lambda@edge origin response"

Aws let setup lambda@edge function executed after a response is received from the origin(see picture bellow), can I do it with GCP?
5
votes
1 answer

integrate Firebase storage with Google cloud CDN

i'm making an app using firebase. photos uploaded by users are saved in firebase storage. I use firebase cloud functions to make thumbnails to load photo feed faster, but in one page, I need to load original photos(max 30 pics) at once. To load…
5
votes
1 answer

Jquery Migrate CDN fallback condition

To increase page speed am using Google CDN to download jquery file and I also have fall back to download jquery from local incase Google CDN fails. Below is how am using fallback