Questions tagged [cdn]

A content delivery network or content distribution network (CDN) is a system of computers containing copies of data placed at various nodes of a network.

0
votes
0answers
14 views

Why does ckEditor (4.6.2) customConfig append to the CDN instead of referencing my local file?

As described in the documents, you can reference and load a custom configuration like so: var ck = CKEDITOR.replace(elm[0], { customConfig: '../assets/ckeditor/config.js' }); However, ...
1
vote
1answer
18 views

Asp.Net ViewState behind CDN

I have an Asp.Net app running under IIS with two backend servers with Loadbalancing + machinekey configured. Once I've activated a CDN (Varnish with caching disabled), I'm redirected to login page ...
0
votes
0answers
16 views

Securing assets on Microsoft Azure CDN (Verizon Premium) using token authentication

I am attempting to secure files in one folder on Verizon Premium CDN using token authentication. I have followed the docs here. I have successfully installed the PHP module that encrypts requests and ...
2
votes
2answers
15 views

Use robots.txt file to block everything except images

I only serve images to my CDN. I have a robots.txt file set up in my CDN domain which is separate from the one set up in my 'normal' www domain. I want to format the CDN robots.txt file in my CDN ...
0
votes
0answers
16 views

SRI Hash CDN inline js

I have js file that is delivered through a CDN: www.some-url-my-js.com. I am currently using this CDN on a HTML page, but the way I load the JavaScript is by creating it dynamically with JS. <...
0
votes
0answers
23 views

Load external javascript from CDN on different domain synchronously via ajax call

Situation: A jQuery ajax call goes to a .ascx file that first loads a Javascript file that has 3 variables. JS File: var vfirst; var vsecond; var vthird; Next, appropriate values are populated into ...
0
votes
0answers
15 views

Django CMS : Integrating CMS with CDN for faster delivery of static files

Use-Case: Need to upload an image which is bigger in size ( using django cms image plugin ) . When I upload the image via CMS portal , where do the actual image is saved and in what format ? Can I ...
0
votes
0answers
17 views

“Exports is not defined” error loading a react component from cdn

Im trying to load a react component from a cdn using the code from below: class MyComponent extends PureComponent { componentDidMount() { var script = document.createElement("script"); ...
0
votes
1answer
48 views

Firebase hosting with cloud functions - how to purge/refresh CDN cache?

I'm following the instructions from this video and so far things are working perfectly right up to the point where I need to purge the CDN of old HTML: https://www.youtube.com/watch?v=7_2CJs_VZk4 So ...
0
votes
0answers
2 views

Jetpack Photon Images plugin - How to register images not in a post?

I have some images on my shared hosting site slowing my page speed down considerably. I noticed these images aren't being caught by Jetpacks Photon module. Is there a way to manually register the ...
0
votes
0answers
25 views

Page speed Insights: Render blocking font-awesome

I am using font-awesome 5.3.1 css and adding to my page like this: <script type="text/javascript"> var shared = {}; shared.css = ["https://use.fontawesome.com/releases/v5.3.1/...
0
votes
0answers
24 views

CDN fallback for JS and CSS

I am currently trying to make CDN fallback for my Spring application and I am having a lot of questions. This is my Head.html <!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" th:...
0
votes
1answer
23 views

External CSS library not importing via custom script

In ERPNEXT i am using custom script to load some external libraries using $.getScript . JS libraries are being loaded but css aren't . Hope to get some suggestions
1
vote
1answer
21 views

How to use CloudFront efficiently for less popular website?

We are building a website which contains a lot of images and data. We have optimized a lot to make the website faster. Then we decided to use AWS CloudFront also to make it faster for all regions ...
0
votes
0answers
14 views

does Content deliver network work on private web pages?

I understand the concept of CDN was to save a cached copy of web pages on delivery points around the world, which is okay if the web pages are public. I have this private website that requires login ...
1
vote
0answers
22 views

How to split SASS files into multiple CDNs

Current situation: We have 1 application that generates sass files, which is then obviously compiled into CSS and uploaded to 1 CDN location. This is done by "us" (the design team). There are ...
0
votes
0answers
17 views

Forcing zxcvbn.min.js to pull from CDN?

The file /zxcvbn.min.js appears to be related to a password strength tool. Which is great, but it's causing issues in Google Pagespeed score (because it's not being pulled by the CDN), and when I use ...
0
votes
1answer
47 views

NodeJS - Download/Use JS file from CDN

I'm creating an application written in NodeJS that contains many classes. Though I plan to make this just a personal application, I plan to give it to a small group of people. The issue I have is that ...
0
votes
1answer
23 views

Why does my CDN cache a certain document,but browsers do not?

I have a url with a test PDF on it, this is my origin: https://powered-by.qbank.se/miso/MISO_Testing_Document279626.pdf I have that origin setup in an Azure CDN using the Microsoft provider. it's url ...
0
votes
0answers
15 views

ASP.NET MVC Project: Bundling for CDN

I've got an issue with my MVC project. Can't get CDN properly working. What I've done is the following: - Provisioned a CDN in the Azure's website (https://mycoolcdn.azueedge.net) - Updated ...
0
votes
1answer
32 views

How to unminify jssor slider library?

I need to do some changes in jssor slider library https://cdnjs.cloudflare.com/ajax/libs/jssor-slider/27.5.0/jssor.slider.min.js , but not able to do as I can find only minified version. I have ...
-1
votes
0answers
24 views

How can i know if a website use a CDN Service

i'm working on php project and i want to know if there is any way to know if a website use a CDN service like cloudflare for example or no thanks
2
votes
0answers
32 views

Mobile UC Browser blocking CDN assets

I have website setup to serve static files via CDN. I'm using cloudfront CDN. When i open my website on mobile using UC Browser. it only loads the HTML page and do not accepts the files(images,.js,....
0
votes
0answers
21 views

Images are not displaying on previously shared facebook posts after changing the CDN

On my blog, there are 100 of blog which have been shared on several social media platforms including Facebook. Few days ago i have changed the CDN provider so the CDN URL has been changed. Now i found ...
0
votes
0answers
26 views

Browsers reporting Azure CDN with SSL as insecure

I've obtained an SSL from Digicert according to the Azure recommendations for CDN and implemented it successfully in the Azure portal. I'm now seeing Chrome, Edge and IE11 reporting this as an ...
1
vote
0answers
36 views

Download js from cdn using javascript define

How to load javascript from CDN using "define" https://github.com/amdjs/amdjs-api/wiki/AMD? I want to use https://github.com/bradymholt/cronstrue inside https://github.com/ipython-contrib/...
-1
votes
1answer
20 views

Add base64 image to product

Having a $product instance and a $base64 image, how can I set it's thumbnail image? I'm currently creating a grouped product via a custom API on Magento (API_v2). My application sends a SOAP request ...
0
votes
1answer
18 views

Direct to another folder with .htaccess file

Lets say my folder structure looks like this someproject/v5/.htaccess someproject/5.0.1/lib.js someproject/5.0.1/assets/img/png/anotherfolder/helloworld.png someproject/5.0.2/lib.js someproject/5.0.2/...
0
votes
0answers
18 views

How to run different servers/locations for one NodeJS/REST app

I am wondering what the best practice is for deploying different servers in different locations for a NodeJS app + REST api. I understand the benefits of using a CDN to deliver static assets to ...
6
votes
2answers
198 views

How to set primary and secondary colors in Material Design Components for Web?

Details I went looking into Material Components (MDC) for Web and landed to using CDN (hosted CSS and JavaScript libraries): https://unpkg.com/material-components-web@latest/dist/material-components-...
0
votes
0answers
46 views

Why CloudFront can't save ETag before compression?

The CloudFront documentation states: If you configure CloudFront to compress content, CloudFront removes the ETag response header from the files that it compresses. When the ETag header is present, ...
0
votes
0answers
17 views

Angular 2 from a CDN [duplicate]

I want to create a Code Pen using Angular 2, latest version (6.2.2 according to https://www.npmjs.com/package/@angular/cli). I would like to load Angular from a CDN and fail to find versions > 2.0....
1
vote
1answer
23 views

Angular6: Serving assets using CDN but not Index.html - SecurityError: Failed to execute 'replaceState' on 'History'

Goal Serve all files excluding index.html on a CDN (CloudFront). Thus the app is served on a subdomain that's different than the assets. Problem I used ng build --prod --aot --base-href https://...
-1
votes
1answer
23 views

Preventing access to static file served on blob in Angular 6 app that itself is hosted on the blob?

I have an app that is served as static content and is angular 6 app. I have an assets folder which contains a pdf file, that I only want to be accessed by logged in users via the internal link in the ...
0
votes
0answers
14 views

Setting Up URL in Custom Script

I have a custom PHP script and the main site URL is from the settings.php file. Recently I registered for a CDN to help boost my website resolution speed. However I have to enter the URL of the CDN ...
0
votes
0answers
13 views

How to register domain on Akamai. (Akamai CNAMEs)

So I was wondering if any of you could provide some insight on Akamai CNAMEs and how one can register them. Let's say I had a subdomain: testcdn.domain.com -> CNAME -> testcdn.edgekey.net My ...
0
votes
1answer
37 views

How to install and setup thumbor

I found an image hosting python project on the internet named thumbor, I believe its self-hosted, and their documentation is pretty straightforward. I didn't get all the process required to install ...
0
votes
2answers
52 views

PHP download file from CDN direct to client

I have problem with downloading files from my CDN. I moved all big files from hosting to CDN to save bandwidth but function in PHP is running on server and every download counts to bandwidth anyway. ...
-1
votes
1answer
18 views

Is it possible to share the Angular 2+ core libraries over multiple applications?

We have multiple Angular applications on the same platform. Today they all have there own main.js file with the Angular Core files included. Since all applications use the same Angular version we ...
0
votes
0answers
11 views

CDN recommendations for using our own SSL

We would like to start using a CDN and have looked at CloudFlare. Unfortunately, because we have our own SSL we'd have to buy the CloudFlare $200 per month 'Business' package. Can anyone recommend a ...
-1
votes
2answers
19 views

Angular newbie question regarding packages install

I make this question because of a problem I'm having making "bootstrap-select" to work with Bootstrap 4, but its a rather general conceptual question. Let's go: What's the difference between ...
1
vote
2answers
39 views

Purging cached urls in akamai through java code?

In my project, whenever an API is called it gets cached in Akamai. But when a client changes something in the database through UI. We need to invalidate cached API's response in AKAMAI and fill it ...
-1
votes
1answer
72 views

customize bootstrap 4 cdn

Hi I am trying to override some bootstrap 4 CSS/SCSS but my code does not work but when I run it in w3 school it works. am I missing something or am I just dumb? Also modifying the custom.scss file is ...
1
vote
1answer
19 views

How to join two+ separated JS libraries in a single file

I have some libraries (like semantic ui, jquery...) that I usually load separately in my <HEAD> tag directly from a CDN, each library with its own <SCRIPT> tag. I then tried opening the ...
1
vote
0answers
34 views

Is it possible to join requests to a CDN [closed]

Nowadays it's pretty common that you import several libraries to your project/website from the same CDN. I love using CDN but there is one thing that bothers me a lot. Usually I import 8 libraries/...
0
votes
1answer
19 views

Remove file from CDN cache

I've uploaded a file in the s3 bucket and also I've added CDN caching for load files. I want to update that with the same name but the problem is that I can't get updated file. CDN return always old ...
1
vote
1answer
32 views

Do you think we would need a CDN in front of an api gateway?

We are using AWS and using the Kong API gateway hosted in AWS. Do you think we would need a CDN in front this API gateway? We don't need much caching, as well as we can attach the WAF in AWS to ...
0
votes
1answer
27 views

recurring_select gem: jquery not working in my configuration

I'm trying to use recurring_select on a rails 5 project to select recurring dates for events. Everything seems to work except for the jquery modal popup. I suspect it has something to do with the ...
0
votes
0answers
14 views

DDoS Protection VS EV SSL

This is a tip request only, please do not rage. We have an website hosted on DigitalOcean with EV SSL, we need now an CDN/WAF. As cloudflare is the most common we would take the Business one (200/...
0
votes
0answers
104 views

Azure Verizon Premium CDN - Redirect naked domain to www

I have an Azure blob with a static website, running a custom domain through Azure CDN. Since I can't get a static IP for the blob, and I can't use alias or A in the DNS records, I'm trying to do a URL ...