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.
2,856
questions
0
votes
0
answers
4
views
Lighthouse: Ensure text remains visible during webfont load
I am using Font Awesome and Font Awesome-Pro CDN on the website
<link rel="preload" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" as="style" onload=&...
0
votes
0
answers
9
views
Import Module from external cdn into Vue component
I'm trying to import a module that is only available through a CDN into my Vue 2 app component.
The CDN is available through something like this: https://cdn.myscript.com/myscript.min.js
In my ...
0
votes
1
answer
32
views
Loading Plaid Link Web SDK using webpack
I am working on creating a vanilla js web app using webpack. I've used HtmlWebpackPlugin with html-loader in my webpack configuration.
The problem I'm facing is that Plaid Link Web SDK should be used ...
0
votes
0
answers
13
views
VSCode `typeAcquisition` for browser imports
I want to have .d.ts typings for Lit which will be served from the esm.sh CDN. I want to use VSCode's built-in type acquisition system to get Intellisense for the Javascript files (which will be ...
0
votes
0
answers
7
views
Slow videos issue on mobile side
I have web project and mobile projects and there are videos. On the web side the speed of the videos is good, but on the mobile side their speed is slow. All videos are 1080p and I'm using CDN. I ...
2
votes
2
answers
76
views
Deleting Wasabi CDN Bucket 204 Error Not Deleting
So I'm trying to programmatically delete Wasabi CDN objects from one of my buckets. My request is sending back 204 and showing success but nothing is being moved/deleted. I'm using node/javascript to ...
0
votes
0
answers
10
views
CDN rewrites URLs to cdn.example.com [migrated]
I am testing a CDN. All the website URLs are being changed from www.example.com to cdn.example.com and this will lead to a SEO drop.
I have followed the procedure and asked the support service, with ...
0
votes
1
answer
30
views
imagekit used with external storage - how to disable some random number (t=xxxxxxx) at the end of the url
I have linked my serve with imagekit as CDN, fetching imageing from Digitalocean storage space: as per the blog -
Optimize and resize images in DigitalOcean Spaces in real-time with ImageKit - This ...
0
votes
0
answers
32
views
How to use any npm package via a cdn
I am working on a vue app using a cdn. I do not have direct access to node.js and npm. Therefore, I am using a cdn for everything I have used so far or created my own components. I am trying to use ...
0
votes
0
answers
12
views
what are different types of cache from an interview point of view? Is cache always in-memory
I know there are different types of cache like:
in-memory
disk cache
distributed
application server cache
Global cache
CDN
However, I am not sure whether any of the above types is actually a subtype ...
0
votes
1
answer
15
views
Setup cdn in AWS and godaddy
Okay , i need help with right direction . I bought divyanayan.com domain in go daddy portal.
Second Step is, I created a certificate in AWS certificate manager , which gives me Cname and cValue . i ...
0
votes
0
answers
17
views
How to change live streaming latency with AWS?
I build a live streaming app with:
AWS serverless video streaming and speedylive
Recently, many users have reported that the live broadcast is very stuck and delayed.
User feedback sometimes shows ...
0
votes
1
answer
60
views
how to use azurewebsites root url for my blob storage file url using Azure CDN?
I have created blob storage and uploaded my index.html file.
file url looks like - https://myaccount.blob.core.windows.net/mycontainer/demopage.html
I have one webapp https://mycompanydemo....
0
votes
2
answers
31
views
Do CDN prefetch user's static data or it's done on the request?
As per Akamai -
A content delivery network (CDN) is a group of geographically
distributed servers that speed up the delivery of web content by
bringing it closer to where users are. Data centers ...
1
vote
1
answer
52
views
reverse proxy between from one kubernetes cluster to another
I have 2 kubernetes cluster
cluster 2 - exposed loadblancer nginx with regional IP IP_PRIVATE
service 1 - website `/website`
service 2 - blog `blog`
service 3 - api `api`
cluster 1 - exposed ...
0
votes
0
answers
30
views
lookaside.fbsbx.com attachment link from private messages doesn't work
I use the endpoint page-id/conversations?platform=instagram to get Instagram's private messages and i get attachment.
But the field : attachment{image_data} return me the image url in https://...
0
votes
0
answers
12
views
How to setup DNS records for webmail of my domain in digital ocean?
I moved to Digital ocean droplets as a hosting provider for my site a few months ago. Earlier I was using shared hosting. What DNS entry I should do in droplet settings to make sure that webmail....
0
votes
0
answers
27
views
CDN Script Fast-XML-Parser Postman
I want to use fast-xml-parser to validate a SOAP response from a Postman request. Based on various articles, I implemented fetch cdn and put it in a variable method.
So this is my script, postman will ...
1
vote
0
answers
89
views
How bad is it to use Tailwind CDN in production?
What are the performance implications of using the Tailwind CSS CDN in production?
Why exactly is this not recommended?
0
votes
0
answers
19
views
The CDN links for React isn't rendering
I followed a tutorial and build my own simple react project but the links aren't working. I followed a lot of tutorials on how to do it, but the results are the same
The web page just comes out blank. ...
0
votes
1
answer
14
views
Can I enforce query parameter order in OpenApi?
The reason is for CDN cache entries. Those are specific strings used as cache keys and to invalidate them they need to match. Preferably, I'd like to enforce the query param order so that they always ...
0
votes
0
answers
11
views
How to use the homepage field when using a CDN
When hosting an app through a CDN like cloudfront, do I list my domain name for the homepage or the cloudfront distribution url ?
"homepage": "https://domainname.com",
or
"...
0
votes
1
answer
66
views
How could I mount the app in to index.html
I am pretty new to Vue.js.
I am trying to build a project without cli.
I've tried to add the CDN into the index.html.
and create a app.js file , add it to index.html and it works well.
Then I watch ...
1
vote
1
answer
35
views
Duplicated Error Messages when button clicked
JSFIDDLE
(UPDATED 4/2/2022)
When I click Contact Me link, the jQuery trigger did not SLIDEDOWN to open and SLIDEUP to close the form class="box", but instead it just show and hide instead. ...
1
vote
1
answer
66
views
ThreeJS FBXLoader import via cdn not working
im trying to import ThreeJS and the ThreeJS FBXLoader example via cdn. For this purpose I have created the following imports.
<script type="module">
import * as THREE from 'https://cdn....
0
votes
0
answers
23
views
Are there any CDNs that can connect to custom Google NPM Artifact Registries?
I have a public custom repo and I can access the tar file using the curl -L -v "https://us-central1-npm.pkg.dev/my-project/npm-public/@my-scope/bucky-barnes/-/@pure-pm/bucky-barnes-0.0.1.tgz"...
1
vote
1
answer
40
views
How do you disable/remove a CDN's default css from your application?
I am integrating a date picker component in my tailwindcss app, and to do that I have to add the css and javascript CDN links. The problem now is the css gotten from the CDN is overriding my own css ...
1
vote
0
answers
39
views
spl-token:12 Uncaught ReferenceError: exports is not defined
I want import https://npm.devtool.tech/cdn/@solana/spl-token for my google extension
<script src="https://unpkg.com/@solana/web3.js@latest/lib/index.iife.min.js"></script>
<...
0
votes
0
answers
42
views
Pending loading font from use.fontawesome.com on my ISP
Fontawesome does not load on different sites on some provider's IP addresses..
https://use.fontawesome.com/releases/v5.1.0/css/all.css
Fontawesome in pending status ~30-40 seconds, then failed.
But ...
1
vote
0
answers
14
views
Pulling video from CDN for HTML5 banner ad
I am new to coding. I have a client, big one, that I create HTML5 ads for. They would like me to create an ad using video. I normally use bodymovin to export animations from After Effects.
This time I ...
0
votes
1
answer
42
views
How to create a CDN to store and serve images and videos?
We have a requirement to store and retrieve content(Audio, Video, Images) quickly. We are not allowed to use Commercial providers like AWS S3 etc.
Any suggestions on how to go about? Challenges I ...
0
votes
0
answers
17
views
How do I use a named export from an external script in Angular?
https://stackblitz.com/edit/angular-ivy-4666q1?file=src%2Fdb%2Fdb.ts is a great demo of using Dexie in Angular, but instead of npm installing and importing, I would like to dynamically load Dexie AND ...
0
votes
1
answer
48
views
How can I get HTML element when importing Vue via CDN?
I'm using Vue 3.0.2 in my project, loaded via CDN as follows:
<head>
...
<script src="https://unpkg.com/vue@3.0.2"></script>
</head>
How can I access an HTML ...
0
votes
0
answers
32
views
Why does the cache control value change in cloudfront?
The situation is that I have a service deployed in aws, and I am using cloudfront as cdn for static resources.
To set cache control, the Host header is set in the cache key, and the query string and ...
0
votes
0
answers
33
views
JS CDN Relation with Violation of the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' .."
Once I have managed to use MathJax 2.7.7 in Jekyll with following code
{% if page.mathjax %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config(
{ tex2jax: { ...
0
votes
2
answers
26
views
What is the propagation delay for Shopify's CDN?
I am trying to make changes on a Shopify site, and have inserted a C-style comment at the end of the stylesheet. When I checked immediately after, the comment was not visible.
I am presently unsure ...
0
votes
1
answer
54
views
Add unpkg to Content Security Policy (CSP)
How can I add specific libraries (ES modules) fetched through Unpkg to my Content Security Policy (CSP) policy - i.e. without allowing everything from Unpkg?
For example, this is how I add provide one ...
0
votes
0
answers
32
views
Script loaded from content delivery network with no integrity check
Am running code quality analysis using LGTM tool on my flask app which uses Material CSS for its javascript. To access the javascript one should use(According to Documentation):
<script src="...
0
votes
1
answer
42
views
Web Font Links Fail to Work on Github Pages but Work Locally
I'm trying to use two web fonts, Bahnschrift and Blanka Regular on my Github Pages site. I'm using CDN Importing in my <head>.
I have the Blanka font working locally, but when exported the ...
0
votes
1
answer
47
views
Azure CDN - request hostname different to origin hostname
Let's say we have a custom domain name on an Azure CDN endpoint (e.g. custom domain is www-mydomain-com) that uses an Azure CDN managed certificate.
The origin for the CDN endpoint is WordPress ...
0
votes
0
answers
146
views
Does Amazon CloudFront support HTTP 1.0 requests without the Host header?
CloudFront fails for an HTTP 1.0 request without the Host header (optional for HTTP 1.0):
POST / HTTP/1.0
Content-Type: application/ocsp-request
Content-Length: 75
HTTP/1.1 400 Bad Request
Server: ...
0
votes
0
answers
37
views
How to use CDN-JS library in TS-script on jsfiddle.net platform?
For example, I have sfiddle-example-js script like this and it works:
const { parallelLimit } = async
new Promise(async () => {
const tasks = Array(10)
.fill(null)
.map((item, i) =&...
0
votes
0
answers
37
views
What can I serve from CDN for a Rails application?
I have a Ruby on Rails application where the views are contained in .html.erb files. If I introduce a CDN into the deployment pipeline, does that mean the CDN will only be able to serve up static ...
0
votes
0
answers
14
views
Looking for link to jQuery CDN link where jquery is exported at alias
Is there a cdn link to the jQuery library where the jQuery library is exported as $ or some or other alias?
Something like:
export default function $() {....
This way I could import the jQuery ...
0
votes
0
answers
26
views
How to have CD/CI for and S3 bucket
Question here more about gathering ideas on how to manage an S3…
So currently what I have is CI/CD job that is executed when I push something to a specific git repo and picks all the contents in that ...
0
votes
0
answers
25
views
Shared Javascript/CSS libraries across apps best practices
I have a variety of web applications (PHP, ASP.NET, Angular, and React) hosted under different sub-folders on a single sub-domain on the same server.
I'm currently bundling Bootstrap CSS/JS and jQuery ...
0
votes
0
answers
90
views
Easiest way to convert many CDN links to local files
I want to deploy an open source website to my local area network.
The problem is that there are tons of CDN links in the code of this website, like the following:
3590 <link rel="...
0
votes
0
answers
30
views
How to force TypeScript to choose the correct method signature?
I'm experimenting with the parallelLimit() method from the async library, which has several signatures that depend on whether the third argument is passed or not, and so far this is a JS script, ...
0
votes
0
answers
41
views
Akamai purge cache CLI: API Error: 400 400 Bad Request Invalid timestamp More Info https://problems.luna.akamaiapis.net/-/pep-authn/request-error
I am trying to figure out how to Purge the Akamai cache through the Akamai CLI (version 1.3.1).
I am using a ~/.edgerc with :
[default]
host = *.luna.akamaiapis.net
client_token = akab-****
...
0
votes
0
answers
22
views
Load Webpack Chunks from Azure Storage CDN only after authenticating with Auth0
I have done a fair amount of googling and haven't been able to find quite what I'm looking for- previously I have built a React application where the Webpack chunks generated via codesplitting have ...