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
0
votes
4answers
46 views

Define alternative image path in CSS [duplicate]

Actually I have a css snipped like this: .item1 { background-image: url("?/questions/tagged/cdn/../img/myimage1.jpg"); background-repeat: no-repeat; background-position: top center; background-size: cover; }...
0
votes
0answers
6 views

Should I manage my cache control headers in each app or in the api gateway?

This is a design/architecture best practice question. I've been asked to put a CDN in front of an API Gateway. I am very new to CDN. Provide Cache instructions within responses and instruct the CDN ...
0
votes
0answers
17 views

How to use my own created traineddata language in Tesseract's recognize method?

Good day. I'm trying to use my own created traineddata language by passing the path to the file as the second parameter in the recognize method. I'm using Tesseract's CDN in a https web app and I ...
0
votes
2answers
43 views

Is it possible to add CDN on HTML via a PHP include?

I'm creating a website for homework and it's going to have multiple pages. I'm using bootstrap 4 and for each page, I have to declare a lot of links and scripts on the head of the HTML. My question ...
1
vote
1answer
24 views

Using Microsoft Azure CDN with already existing site

I am fairly new to using CDN but i've found that there are two types of CDN. You redirect your DNS to your CDN and they automatically take over the traffic as a proxy and do the caching and content ...
-1
votes
0answers
11 views

Solution for hosting a large of images data for web [closed]

I have a large images data about more than 1000GB and need to find a hosting to store it for using on my website. I just check the price at some cloud storage services as Amazon s3 or Azure but price ...
0
votes
0answers
19 views

How to omit “query string” from Firebase Functions CDN Cache?

Our system uses Firebase Functions (Https) to dynamically serve content which also has CDN Cache. Our use case does not require CDN to cache urls differently based on "Query string", and would be even ...
1
vote
1answer
61 views

Invalidating cached content with google cloud sdk python

It's possible to invalidating cached content with Google Cloud Python SDK? I use google.cloud.storage to upload file in the bucket. However, I haven't found a Python library for CDN. There is only ...
0
votes
2answers
41 views

How to find the CDN that is serving a domain in python?

I am trying to find a way to find the CDN that is serving a certain domain in Python. My idea is to use DNS lookups to read the field CNAME in the response. From that I can map the CNAME response to ...
-1
votes
2answers
41 views

Bootstrap 4 Dropdown menus not functioning - But works on other file with same CDNs

I was trying to make the navbar-brand logo a dropdown toggle for my navbar. When I first implemented it, it worked fine! However, after editing my home page file and logged into access the main.php ...
0
votes
0answers
36 views

Revolution slider plugin assets not loading from CDN

I've integrated my WordPress site with Amazon CloudFront CDN. I'm using a plugin called Slider Revolution - Premium responsive slider (Version 5.4.8 by ThemePunch). For some reason, the JS files from ...
0
votes
0answers
9 views

Can I add HubSpot's blog as origin in my CloudFront distribution?

Let's pretend example.com is my domain. I'd like to have: HubSpot's provided landing page at example.com/ HubSpot's provided blog at example.com/blog/ my website hosted on AWS S3 at example.com/map/ ...
-1
votes
0answers
13 views

Set limit size for cache folder in nginx as a CDN

I setup up a cdn server using nginx on ubunu 18 from this tutorial : https://www.techtutorial.online/create-a-custom-cdn-server-using-nginx-ubuntu and it works fine ;) but my primary file server has ...
0
votes
1answer
37 views

What should I do to update service workers and cached PWA files

So in my current system whenever I make a javascript bundle I add a hash to the file name for production builds. I have no CDN caching in my index.html, so whenever a new build comes out a new index....
0
votes
0answers
11 views

Can I read third party cookies on python server if the the JS is delivered through a CDN

Consider I have a widget that will be placed on multiple websites and will also serve third party cookies to the users visiting the websites. Suppose, I have a server deployed on AWS lambda with ...
2
votes
0answers
19 views

How to serve static files from CDN after Heroku build?

I have a small web application written in node.js and nuxt.js. The app is running on Heroku. I wan't to improve the speed of the page, however I have no idea which way would be the most practical to ...
0
votes
0answers
19 views

Fix imge URL Woocommerce after migration to other host

After migrating my woocommerce store to a new server but maintaining the same domain, all external product images are prefixed with DNS. Example: Correct: cdn.example.com Wrong: mydomain.com/cdn....
0
votes
1answer
28 views

How to define a caching rule in Azure CDN for the root path without rewriting the url?

I have a static website in azure that hosts an angular webapp, and I have setup a CDN with Standard Verizon pricing tier. The problem is whenever I deploy a new version, users need to clear their ...
0
votes
1answer
24 views

Is there any way to load third party libraries like pdfmake using CDN in Angular 8 application?

I am using pdfmake library in my angular 8 project for client side pdf generation. I have installed the pdfmake library modules and it is working fine. but this third party library increases angular ...
0
votes
0answers
24 views

Speed up downloads using CDN but only to authenticated users

I thought this would be trivial. I was wrong. We have a service where users authenticate themselves and are then allowed to download files. Currently the file is in the response to the request which ...
0
votes
0answers
16 views

Cannot load files from CloudFront? Getting ERR_CONTENT_DECODING_FAILED 200

Response Headers accept-ranges: bytes cache-control: max-age=2628000 content-encoding: gzip content-length: 96873 content-type: application/javascript date: Wed, 31 Jul 2019 14:30:08 GMT etag: "...
-1
votes
0answers
45 views

How redirect to https, www (https://www) and if it is images (https://cdn)

How to redirect url. If it is extension: css, js, png, svg redirect to (https://cdn.domain.xx) If not extension, redirect the url to: https, www (https://www.domain.xx) The code below almost works. ...
-2
votes
0answers
6 views

CDN and Geo IP database working and request serving

How does a CDN works actually how a request is served from the edge location is there any Geo IP database how it routes the requests ? I had a interaction with stackpath but they didn't provided much ...
0
votes
0answers
42 views

The meaning of status=Finished in chrome devtool network panel? What caused?

I got a HAR file from customer, the network shows 1 key request got a status with Finished and size 0, what caused this issue? And how to solve this issue? Not all users have this issue, just a few ...
0
votes
1answer
94 views

Getting 'Unknown custom element' when Vuetify is loaded via CDN

I've tried to follow CDN usage example on the Vuetify website, but I'm getting the following errors: [Vue warn]: Unknown custom element: <v-list-tile> - did you register the component ...
0
votes
1answer
35 views

How to serve WordPress plugin files (JS and CSS) from CloudFront CDN?

I'm setting up CDN for my WordPress site using Amazon CloudFront. I've successfully set this up wp-uploads folder. Now when I check my website performance on GTmetrix, I see the following types of ...
1
vote
1answer
33 views

How to import CDN dependency into create-react-app set up?

I'm trying to utilize create-react-app to create a DataTables table, and I want to load the dependencies in via CDN. I've created this table successfully with simple html/javascript (see below, ...
1
vote
1answer
38 views

How to configure firebase cdn / caching in Vue.js app?

I have developed my project using vue.js webpack template. I want to configure firebse cdn/caching. But have no idea what to do.. I have gone through the document https://firebase.google.com/docs/...
0
votes
0answers
10 views

Why does Azure and AWS CDNs both return 200 after returning 206 on initial page load (Safari)?

I'm dynamically loading a set of six videos (in sequence) on a website. I've hosted the videos on both Azure's object storage and AWS's object storage with a CDN wrapping the two. When I load the page ...
0
votes
0answers
14 views

What is the point of cache control: no-cache, no-store, must-revalidate when no-store attribute already designates that cache should not be stored?

I have searched over many articles and many mentioned that if your website is transmitting sensitive information, we should use cache control: no-cache, no-store, must-revalidate. What is the point ...
0
votes
1answer
58 views

Integrate firebaseui CDN with nuxt.js, firebase not defined error

I'm working on integrating localized firebaseui with nuxt.js (ssr). But I run into a "firebase is not defined" error. I'm new to ssr and nuxt.js, I truly hope anyone could explain why this setup doesn'...
-1
votes
0answers
25 views

Insanely High CPU Usage on Server from Very Small Number of HTTP Requests?

Very stumped on an issue. Would love some insight. I run a wordpress site that is being served through cloudflare. I noticed that my server idle CPU hits 0 incredibly frequently. After monitoring the ...
1
vote
1answer
48 views

Increasing Microsoft Azure Blob URL character Limit

Microsoft Azure Blob URL's character length limit is 1,024 characters. But i want to increase it. How can i increase azure blob URL's character Limit?
0
votes
3answers
79 views

Issue getting simple Fetch working in Netlify Functions

I've been working through the workshops for Netlify functions and have stumbled getting a simple Fetch response to work. When running the sample at: https://github.com/DavidWells/netlify-functions-...
3
votes
2answers
77 views

How to use CDN in local javascript file

I am trying to use Tone.js to make music with javascript. I get the error message "tonetutorial.html:26 Uncaught TypeError: Tone.Player is not a constructor" whenever I try to make it work. I have ...
0
votes
0answers
14 views

Drupal (Acquia) and Cloudfront

I would like to use Cloudfront with my Acquia Cloud hosted site. Looking at https://support.acquia.com/hc/en-us/articles/360005539753-Using-a-Content-Delivery-Network-with-Acquia-Cloud it suggests ...
0
votes
0answers
17 views

ProductListView showing blank page rest of the code works.. html sources shows blank block

I am following the course of coding for entrepreneurs and when adding products via admin portal everything works smoothly. the problem is that when i got to my products url nothing appears on the ...
0
votes
1answer
11 views

Is there a way to copy or export the CDN Libraries from a Fiddle in JSFiddle to the HTML or ClipBoard

Sorry if this is not an appropriate question, but I thought it would be worth asking because it seems a little nicer to create a snippet on SO than it is to provide an external link to JSFiddle or ...
0
votes
0answers
28 views

How to fix: Azure CDN “.” Character Redirect

I'm using on Azure CDN and Azure Verizon Premium CDN to serve my blobs for my single page application. But whenever there's "." in url and trying to open on new page url returns <Error> <...
0
votes
1answer
28 views

How to create MPEG-DASH manifest with multiple fallback URL?

I have a URL like this http://.../test/index.mpd. What I want is create another dash manifest that will contain multiple fallback URLs pointing the original manifest file. For example for URL http://...
1
vote
1answer
65 views

IllegalLocationConstraintException on CloudFront (for S3)

I have created an S3 and I uploaded files on the bucket successfully. Now, I am trying to make it work with CloudFront however it is giving me IllegalLocationConstraintException The ap-east-...
0
votes
0answers
10 views

Moving all assets to cdn including bundles and static content on a ssr rendered application

how can I set some cdn url for just static content in prod mode, --deploy-url just prefixes cdn url for bundles and base-href do set cdn for static content & bundles but also bring the whole app ...
0
votes
0answers
12 views

StackPath (CDN) Causing User Login Issues?

Yesterday I setup a CDN, and since then users have been unable to login to a page on our blog: https://www.sbcoxford.co.uk/summer-blog/ The code works so that if the user is not logged in then they'...
1
vote
1answer
20 views

line spacing with cdn

How do I set ckeditor with single line spacing if I am using the cdn? I see several plug-ins to address this but I just want to use the cdn and have it single space when I hit the enter key. Thanks ...
1
vote
1answer
25 views

PHP Include for static remote HTML files on a CDN

I have an app that creates static HTML files. The files are intended to be hosted on a remote CDN, they'd be standard .html files. I am wondering two things: If it's possible to do a PHP include on ...
2
votes
1answer
55 views

Recommended way of serving static content like videos/images on k8s

I'm pretty green with Kubernetes but have some experience with Google Container Engine. I'm struggling to find a good solution for serving media content from applications. I've currently got media ...
2
votes
1answer
52 views

How to load local static files if CDN fails without using document.write()?

What I am trying to accomplish I will be hosting a web application on a LAN for about 50 people at the maximum. No one from outside the LAN will be accessing the web server. Right now I have the web ...
0
votes
1answer
35 views

CDN for RTMP live streaming URL

I am new into RTMP and live streaming. We have a live stream URL rtmp://someIPaddress/match, that is getting from a 3rd party source. what I am doing is installing flussonic streamer in an ubuntu ...
0
votes
2answers
34 views

How to add JS/CSS Cdn into a website in MVC Core?

How do I add CSS CDN Font always in a MVC Core project? I tried adding the following link from FontAlways into the top of the view Index.cshtml view. It does not work. I should see the Down Arrow ...
0
votes
0answers
12 views

how to properly connect cdn for bootsnip built page

I am trying to build a simple page to host some YouTube videos. I have used bootsnip page builder (https://bootsnipp.com/builder), and I like the design I have. However, when i copied the code and ...