cdn

CDN and URL's with query-strings

99封情书 提交于 2020-06-14 06:18:19
问题 We have an images folder on our web servers that we may publish via a CDN. Sometimes we append query-string like syntax to URL's to help us freshen content that has changed, even though it rarely does. Example: /images/file.png?20090821 will URL's like this work with your average content-delivery-network? 回答1: Yes, We use Akamai, which keeps a cached copy of each distict url requested including the querystring. So the first request for /images/file.png?20090821 will go to the origin server.

Azure CDN (Verizon) custom rewrite rule invalid origin

℡╲_俬逩灬. 提交于 2020-06-12 08:48:02
问题 I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html The new rules engine is unable to identify the Source I already try Leaving it blank www.[mydomain].com [mydomain].com / The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this? 回答1:

Azure CDN (Verizon) custom rewrite rule invalid origin

爷,独闯天下 提交于 2020-06-12 08:47:37
问题 I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html The new rules engine is unable to identify the Source I already try Leaving it blank www.[mydomain].com [mydomain].com / The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this? 回答1:

Azure CDN (Verizon) custom rewrite rule invalid origin

蓝咒 提交于 2020-06-12 08:46:32
问题 I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html The new rules engine is unable to identify the Source I already try Leaving it blank www.[mydomain].com [mydomain].com / The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this? 回答1:

Failed to load resource: net::ERR_CONNECTION_RESET on CDN

巧了我就是萌 提交于 2020-06-11 17:12:47
问题 Recently, on the website I'm working on, I've noticed the below error in the Chrome console. Failed to load resource: net::ERR_CONNECTION_RESET http://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css The bootstrapcdn.com URL works when I try to open it in a different tab. It's really slowing the page load time but it's only occurring in this browser, and only on my PC. I checked on Chrome from another PC and nothing changes. I tried clearing my cookies but that did not work

What is the correct Azure CLI command for creating HTTP Rules on CDN Endpoints (Verizon Premium edition)?

混江龙づ霸主 提交于 2020-06-01 07:42:04
问题 Or reworded another way, can someone provide explanations for the different parameters for the az cdn endpoint rule add command? The Verizon documentation doesn't match up very well with the Azure CLI. Verizon have moved from their v3 Rule Engine to v4, and while it is a massive improvement for layout and usability, it still doesn't provide information on what the specific fields are, or how they would map to the Azure CLI az cdn endpoint rule add command. One problem is that the new v4

How to use Swiperjs CDN in Angular?

こ雲淡風輕ζ 提交于 2020-05-17 06:24:04
问题 I understand there is a module, but I would like to use Swiper js in my angular app through its CDN. I have included the scripts in head of my index.html . Then in the component where I want to use it, I have delared it as such: import { Component, OnInit } from '@angular/core'; import { MenuService } from '../_services/menu.service'; import { ContentfulService } from '../_services/contentful.service'; import { Entry } from 'contentful'; declare let Swiper: any; /* and initialised in the

Need help understanding the Firebase Storage CDN

主宰稳场 提交于 2020-05-12 11:00:45
问题 I'm building an audiobook app and have uploaded the audio files on Firebase Storage. My problem is that I experience different performances in San Francisco vs Toronto. I am under the impression that Firebase Storage has built-in CDN. if so, Do I need to enable it somewhere? if not, how do I add GCP CDN to my Firebase Storage files behind Firebase Auth?? Checking the domain storage.googleapis.com which is where my Firebase Storage files are hosted shows that it is using the Google CDN. Here

HTTP缓存和CDN缓存

僤鯓⒐⒋嵵緔 提交于 2020-04-02 07:56:24
一 http缓存 1.1缓存的分类: http中具有缓存功能的是:1、浏览器缓存、 2、缓存代理服务器。 1.2 什么是缓存: http缓存的是指:当Web请求抵达缓存时, 如果本地有“已缓存的”副本,就可以从本地存储设备而 不是从原始服务器中提取这个文档。 1.3 缓存的好处有: 1. 减少了冗余的数据传输,节省了网费。 2. 减少了服务器的负担, 大大提高了网站的性能 3. 加快了客户端加载网页的速度。优化用户体验 1.4 缓存示意图: 第一次请求: 第一次请求,无论是静态文件还是其他文件,都是从服务器那里读取的。因此没有缓存之说。等第一次请求完,浏览器就有缓存了,然后整个的加载过程就完全不一样了。看下图: 浏览器再次请求  流程图解释: 浏览器再次请求,情况就不一样了。首先会读取缓存,然后判断缓存是否过期,如果不过期,就直接读取缓存。 否则,判断浏览器返回的头部信息是否存在Etag,如果存在,浏览器会像服务器发送带有If-None-Match的请求头,来和服务器返回的Etag做对比, 如果if-None-Match和Etag相等。说明缓存没有更新,服务器返回304,浏览器继续从缓存读取相应的内容。如果if-None-Match和Etag不等,则服务器返回200,浏览器重新需 要从服务器获取内容。   如果服务器的返回信息里面没有Etag,则判断浏览器的返回信息里是否有Last

http缓存与cdn相关技术

廉价感情. 提交于 2020-03-31 16:07:33
一 http缓存 1.1缓存的分类: http中具有缓存功能的是:1、浏览器缓存、 2、缓存代理服务器。 1.2 什么是缓存: http缓存的是指:当Web请求抵达缓存时, 如果本地有“已缓存的”副本,就可以从本地存储设备而 不是从原始服务器中提取这个文档。 1.3 缓存的好处有: 1. 减少了冗余的数据传输,节省了网费。 2. 减少了服务器的负担, 大大提高了网站的性能 3. 加快了客户端加载网页的速度。优化用户体验 1.4 缓存示意图: 第一次请求: 第一次请求,无论是静态文件还是其他文件,都是从服务器那里读取的。因此没有缓存之说。等第一次请求完,浏览器就有缓存了,然后整个的加载过程就完全不一样了。看下图: 浏览器再次请求  流程图解释: 浏览器再次请求,情况就不一样了。首先会读取缓存,然后判断缓存是否过期,如果不过期,就直接读取缓存。 否则,判断浏览器返回的头部信息是否存在Etag,如果存在,浏览器会像服务器发送带有If-None-Match的请求头,来和服务器返回的Etag做对比, 如果if-None-Match和Etag相等。说明缓存没有更新,服务器返回304,浏览器继续从缓存读取相应的内容。如果if-None-Match和Etag不等,则服务器返回200,浏览器重新需 要从服务器获取内容。   如果服务器的返回信息里面没有Etag,则判断浏览器的返回信息里是否有Last