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.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

Can/Should I make my web app partially static and serve it from a CDN?

I have developed an event web app with three parts: a CMS, an API and a user search/view section. All written in Flask using Postgres. The CMS and API definitely need to be dynamic, but the user-...
0
votes
0answers
33 views

Increase Cache Hit Rate Cloudfront

I have about 50k .jpg images stored in S3 and I have configured CloudFront to deliver those through the CDN. My cache hit rate over the past month is only about 16% on average. Under behavour, I have ...
0
votes
1answer
15 views

Should you set 'Vary: Origin' when allowing any CORS origin (*)?

For a server supporting CORS and wanting to handle caching as efficiently as possible, is it necessary to set Vary: Origin if you know that CORS responses will never vary according to the request ...
0
votes
0answers
9 views

How To : Create-React-App : Move Build project folder to CDN

We are using create-react-app for app react application. We used to do npm run build in the production web server. I would like to know whether it possible to move the build files (project files) into ...
0
votes
1answer
17 views

Why AWS Cloudfront is backed with S3 bucket for static contents

It is common practice for a web application to rely on S3 bucket for static contents. S3 needs a network call same as application server call. Why not to depend on web server instead? 🤔
0
votes
0answers
18 views

CDN AZURE ENABLE CORS For Performance/Access tier : Standard/Hot and StorageV2 (general purpose v2)

I have added CORS in Storage account level and provide proper information and also setup Rules engine as per docs (https://docs.microsoft.com/en-us/azure/cdn/cdn-cors#azure-cdn-standard-profiles) ...
0
votes
1answer
16 views

Varnish plus cloudflare

I found this article while searching if there is any VCL tweak that needs to be done while using varnish and cloudflare. I have currently not included the below tweaks suggested by cloudflare. Can ...
0
votes
1answer
32 views

CDN links for React packages and how to import it when using react using the scripts from CDN

I was trying React without the NPM and other tools and instead using it by adding the CDN links, but how to import the dependant packages, for example the useState hook? If it is added via another ...
0
votes
0answers
12 views

Opencart CDN's suggestions

I have been using OpenCart for our site, I am really happy with it, it is an awesome platform that comes with many features and a big community around it. Can someone guide which CDN should is use? ...
1
vote
1answer
17 views

Mod_rewrite combining SEO friendly urls and CDN

Im sure there must be a clever way round this but I just cant figure it out. I am using mod_rewrite to create SEO friendly filenames AND switch to our CDN. I can do them both seperately but together ...
0
votes
1answer
36 views

CDN support/configuration for serving “stale” content, refreshing in background

Goal Always serve content from a CDN EDGE cache, regardless of how stale. Refresh it in the background when possible. Problem I have a NextJS app that renders some React components server-side and ...
0
votes
0answers
12 views

How to fix Error downloading CDN dependencies

I am trying to deploy but I get this error message. Does anyone know how to fix it? PD. Starting 'install:packages'... **[nom][int] [09:30:38] ERROR in 'installPackages': Error downloading CDN ...
2
votes
1answer
52 views

Signed URL result with random AuthenticationRequired

I have a CDN in gcloud configured with a storage bucket backend, the bucket is private and I give the ObjectViewer permission to the CDN service account (serviceAccount:[email protected]
1
vote
1answer
18 views

How to paginate a table using the DataTables pagination plugin

I consider myself a noob when it comes to client side scripting so I'm probably making a rookie mistake here. I want to paginate my table using the DataTables.net Jquery plugin. Everything I have ...
1
vote
0answers
20 views

Can i serve complete Angular website to CDN (Cloudfront AWS)?

I have a front-end application build in Angular 8 (website.com) and its back-end in Laravel is placed separately (api.website.com). Currently i am serving complete frontend application on CDN (...
0
votes
0answers
19 views

Does a DDOS attack on an application using CDN have to first bring down all the involved CDN servers to affect the application's availability?

CDN are said to absorb and mitigate the Denial of Service and DDOS attacks. Consider an application that uses a CDN provider to deliver its content. So if an attacker tries to bring down such an ...
0
votes
1answer
14 views

WordPress site homepage kept redirecting to SITE ADDRESS

I need to put a WP site behind a 3rd party CDN, the CDN uses a private address to load pages, the private address now is IP based, let's say it's http://111.222.333.444, the site's frontend domain ...
2
votes
0answers
13 views

If network providers deploy their own CDNs, then how does their CDN play with the Content providers' CDNs?

Content Delivery (Distribution) Networks help optimize the delivery speed by caching content. Network providers use CDNs to help reduce core network traffic, reduce subscriber churn and facilitate ...
2
votes
0answers
21 views

Export Angular Library as CDN package

I know how to create Angular Libray and include it as using install .taz file in angular application. But i need to create library as package and include in my another application, may be ( simple ...
1
vote
0answers
17 views

Is there an open source solution to setup my own “CDN”?

I currently have 1 dedicated server with 5TB of static content (mainly videos), It was holding up nicely with a small number of users but It seems like it can't keep up anymore. I know a CDN is ...
0
votes
0answers
8 views

Any CDN which Invalidate Files and Warm up Cache automatically based on origin ETAG value?

Background: I am looking for hosting site over CDN. I tried Netlify, awesome thing they purge cache automatically and warm up as well on new build. Unfortunately, they do not have nearest pop to my ...
0
votes
2answers
35 views

Loading Scripts on specific component (Route) in React

Is it possible to run html scripts in a specific React component only, instead of directly in index.html. The script loads a third party barcode scanner, which is only being used in one component, and ...
0
votes
0answers
23 views

CDN TestBed via Apache Traffic Control

I am doing some research on the content delivery specifically on the CDN technology, and I want to implement a new approach for ultra-low latency delivery via networking technologies and CDN. I want ...
0
votes
0answers
18 views

Cloudfront Multiple origins within the same bucket

I have a cloudfront distribution which I'm using with a single S3 bucket as the origin. The bucket has both private and public data in it, segregated by folders - public_folder_1, public_folder_2, ...
0
votes
1answer
97 views

Create custom domain CNAME for AWS S3 static and media files in Django

First would like to say I do not want to use Cloudfront. Let's say site is example.com Bucket Name S3: example URL to static / media files: example.s3.amazonaws.com What steps needs to be done to ...
0
votes
0answers
22 views

How to change mime types on Azure CDN

For a website we are using a Azure CDN (standard) backed with an Azure blob storage for the static content. All static content is served correctly, except Woff and TFF files, which are not served to ...
0
votes
2answers
187 views

Cannot use 'in' operator to search for 'xxxxx' in undefined in vue.js

I'm trying to create a modal form that will add a record. I am able to display the default values from data but as soon as I try to modify the field, I get the following error whenever I try to type ...
0
votes
0answers
13 views

Getting 502 error after I use 301 rewrite in .htaccess file

I'm using Google cloud CDN service and it shows 502 wrong after I use a 301 rewrite in .htaccess file. I want to redirect all my pages that start http:// and http(s)://www to https://www. My ....
0
votes
1answer
32 views

Where to see full list of CKEditor plugins in CDN?

I include CKEditor source code into my app from CDN (see CKEditor CDN docs) <script src="//cdn.ckeditor.com/4.13.0/standard-all/ckeditor.js"></script> I want to add some external plugins ...
1
vote
3answers
67 views

How to activate Material Design JS?

import {MDCTextField} from '@material/textfield'; const textField = new MDCTextField(document.querySelector('.mdc-text-field')); @import "@material/textfield/mdc-text-field"; <head> <...
0
votes
0answers
25 views

Nuxt.js using vue-typed-js with JSDelivr CDN

I want to use vue-typed-js with JSDelivr CDN to speed up the loading speed, i tried use nuxt plugins and nuxt.config.js to load the CDN path (see https://github.com/Orlandster/vue-typed-js#browser-...
0
votes
0answers
28 views

How can I serve assets from different cloud service buckets by website domain in angular index file

The goal is to serve image & font assets from two cloud service buckets (AWS) and (ALIYUN) due to political reasons. Chinese clients do not want to view images/fonts from an american service in ...
0
votes
0answers
73 views

Azure CDN: wildcard in rules engine

I have a Azure CDN from Microsoft setup in front of a web api. I am testing the rules engine, but i can't use the * even though it is mentioned in the docs: https://docs.microsoft.com/en-us/azure/cdn/...
1
vote
2answers
29 views

Bootstrap CDN is not working when I use CDN instead of hosting remotely by using the downloaded .css file

CDN fails to load as the styles don't show when I view in the browser. Please look into it and let me know what the issue is as I am having a hard time debugging. I am almost giving up and about to ...
0
votes
1answer
19 views

VCL: limit too many GET requests on same url

We are experiencing a problem where twice a day (when we send out a newsletter using a third service provider) the home page gets hit by thousands of requests from a particular bot for about 3-5 ...
1
vote
3answers
45 views

Why am I having an error connecting javascript to simple html?

I am attempting to connect szimek's signature pad to my simple html document. I am testing out the program but cannot get it working in my atom text editor: html <!DOCTYPE html> <html lang="...
0
votes
1answer
22 views

Do I need CDN in addition to Amazon S3?

Given that storing static content is the main use case for Amazon S3 service and considering the fact that many large players rely on CDN to scale distribution of such content, I want to know whether ...
0
votes
0answers
13 views

Downloading a file in chrome doesn't show the total MB to download, only the currently downloaded amount

I am having an issue with serving a .exe file from my website On the left is the expected behaviour which occurs when I am serving directly from my webserver. On the right is what happens on chrome ...
0
votes
0answers
28 views

CDN Architecture: Pointing DNS to CDN in front of web app with some dynamic content

I'm following a tutorial that seems to be suggesting that I should point my user-facing domain name to my CDN provider. My web app is a server-side rendering react app that is serving some dynamic ...
0
votes
1answer
23 views

Can we HTTP 2 server push assets present in other CDN?

Currently the index.html file of my angular app is generated from a tomcat server(Apache Coyete). The index.html file consists js, css and images pointing to our own CDN. Example: <script src="...
0
votes
0answers
20 views

Azure CDN Caching custom rules are not working

I'm using Azure Storage to store my website (all static files). I want to use Azure CDN to retrieve the content from. I created a CDN profile and a CDN endpoint which points to my website (endpoint ...
0
votes
1answer
72 views

Difference(s) between Content Management System (CMS) and Content Delivery Network (CDN)?

I'm trying to figure out how to compare CMS like Adobe Experience Manager (AEM) with CDN service like AWS CloudFront? Am I comparing apples to oranges? Thanks in advance.
0
votes
0answers
26 views

Configure Azure CDN caching

I am trying to configure Azure CDN caching (Microsoft Standard), but something does not work for me. I pointed CDN to https://yaplex.com and my CDN is configured to https://www.yaplex.com (the whole ...
0
votes
1answer
13 views

Getting DDoS'd either by CloudFlare or a CloudFlare proxy, Why isn't CloudFlare catching this internally?

My app has been running fine for a while, and just started getting DDoS'ed. I took a look at the IPs, and they all originate from CloudFlare. This either means that CloudFlare is DDoSing me (ins't ...
2
votes
1answer
41 views

How to choose a CDN to load Javascript & CSS libraries?

What kind of reasoning should I do in order to choose a specific CDN to load Javascript & CSS libraries into my website development projects? I see that there are some options (i.e. BootstrapCDN, ...
0
votes
0answers
6 views

How to have a URL temporarily go through CloudFlare and then take you to the website of the original URL?

My app is under DDoS attack, and a Google Support engineer told me "your best bet would be DNS based protection with CloudFlare". I have a url, say xyz.com, that points to my AppEngine. xyz.com does ...
0
votes
0answers
30 views

this website is trying to load scripts from unauthenticated sources - Google CDN

I bought a Google cloud network package and installed it in my simplest and uninformed state. My SSL certificate is corrupted when I try to install it on my own server. Like this : 33.33.33.33/dog....
1
vote
2answers
38 views

Using CDN to serve node_modules for S3 static websites

I have prototyped a ReactJS static app (no backend) on my local computer by following some tutorial. I have used create-react-app to generate my project. The next step (which is not part of the ...
0
votes
0answers
19 views

How to properly load external resources (images, json files) if the angular app is loaded from a CDN?

The ran into a problem because the angular app is loaded from another domain (CDN). There is a web page which is provided by some backend application from https://some-domain.com: <html> <...
0
votes
0answers
32 views

AWS Cloud Front Not caching objects

In our origin server we are returning the cache control header with "public,max-age=3600". We are trying to cache the images returned by our server. The images are served by URL like below https://&...