Questions tagged as 'cdn'

2
answers

Are libraries downloaded multiple times?

I have an application that uses 3 libraries (Bootstrap, jQuery, jQueryUI) on 10 different pages. Do browsers cache libraries?     
asked by 06.01.2015 / 17:57
1
answer

Why do CDN web addresses do not specify protocol?

Usually web addresses start with http:// or https:// , but CDN addresses such as jQuery and Bootstrap start with // . Example: <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.cs...
asked by 15.04.2014 / 15:13
1
answer

Use local files if CDN is Offline

I would like to know if it is possible to perform a callback if a CDN is offline the system uses the local files. Ex: I use the Fontawesome CDN but if the user runs out of the internet or the CDN goes offline, it is possible to create a callb...
asked by 11.05.2015 / 16:48
1
answer

About fallback for CDN

Some people recommend using the following technique ( fallback ) to load Javascript libraries locally if the CDN is out of the loop: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script>w...
asked by 25.07.2014 / 13:10
2
answers

CDN vs. join JS / CSS

Among the performance recommendations of a web system are: Use CDN (in the case of jQuery, Bootstrap, etc.) Add JS and CSS to decrease the number of requests It turns out that these two rules go against each other. If I use jQuery and B...
asked by 12.06.2014 / 18:24
2
answers

How important is Integrity and CrossOrigin attributes?

I've been giving it a look, but I still have that doubt. Currently some frameworks, their link and script are coming with attributes integrity and crossorigin . Ex: <link rel="stylesheet" href="https://maxcdn.b...
asked by 21.01.2016 / 18:22
2
answers

Know if it's really cdn server

Good morning, Recently, on one of my websites, the lord of the hosting service, proposed to me to pass the content (videos and images) to cdn. How do I know if it really happened to cdn? How do I test, and see which server is providing the co...
asked by 25.09.2017 / 13:44
1
answer

How should I work on Bootstrap and JavaScript links?

What is the best way to work with Bootstrap or JavaScript? Referencing by CDN link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" Referencing for the downloaded file link rel="styleshee...
asked by 01.06.2018 / 16:40
1
answer

Differences between Cache and CDN usage

What are the advantages and disadvantages of using Content Delivery Network (CDN) and Cache and how can they complement each other?     
asked by 11.03.2017 / 14:47
1
answer

Is it possible to change the port of an HTTPS connection in CloudFront?

I have a service running on port 8090, when configuring the CDN in AWS CloudFront it is possible to change the http port from 80 to 8090, and it works normally, however when exchanging https 443 to 8090 it gives error: ERROR The request...
asked by 15.06.2016 / 14:38