Questions tagged [cdn]
A Content Delivery Network is used to distribute data to end users of an Internet service. It is typically used for large scale distribution, and employs caching and numerous edge locations to speed up and reduce the bandwidth requirements of the process.
319
questions
0
votes
1
answer
597
views
SSL certificate on the CDN and the origin
One of our SSL certificate is about to expire next month. We use limelight CDN and we had provided them certificate when we started working with them.
We also use same certificates on our sites. All ...
0
votes
1
answer
407
views
How to use CDN to accelerate simple video site with PHP dynamic loading video files like Moodle?
I created a site with Moodle, and not very satisfied with the connection speed for video files stored on server. And I know CDN can accelerate the video file loading speed.
But I 'm quite new and not ...
1
vote
0
answers
793
views
Setup subdomain to reference asset files on main domain
I’m trying to set up a subdomain/cdn structure to help to parallelize the loading of page resources. The main domain will be accessed under https://www.example.com always.
The assets files (js, css, ...
4
votes
4
answers
19k
views
AWS S3, CloudFront, web font CORS error
I've just moved from my previous CDN to CloudFront for two of my websites. First one is working fine but I used the same snapshot in DigitalOcean to create the 2nd site and here I am getting
...
0
votes
2
answers
2k
views
proxy_pass CDN file in NGINX, but get 502 bad request
I am using S3 to store an xml file and use CloudFront to distribute this file. I want to use nginx proxy_pass to locate this file without change my domain name. such as www.mydomain.com/filename.xml
...
-1
votes
1
answer
238
views
Simple DNS Modifications, Directing to CDN [duplicate]
I'm reading through this guide which is quite thorough and helpful, but I've come across one paragraph that's stumping me.
For your root domain, you'll change its A record to point to one of the ...
2
votes
1
answer
7k
views
Setting up CloudFront [Custom Origin] for EC2 instance
I have been checking things up & down on Google & AWS Documentation but can't seem to nail this one.
I have an EC2 instance setup with a domain being served via a virtual host and I need to ...
1
vote
1
answer
174
views
Friendly name for anycast IP with google Loadbalancer
I have created a CDN for our google cloud storage bucket. Everything works fine. Though we had to change our code and change our old loadbalancer friendly name with the ip address.
Would it be a ...
1
vote
1
answer
10k
views
Cloudfront returns 403 for a minute after upload
I have a cloudfront distribution in front of an s3 bucket. Cloudfront urls are restricted, and keys must be url signed. The s3 bucket is also restricted, allowing only cloudfront to read
Sometimes, ...
16
votes
2
answers
11k
views
CDN: How is it possible that my DNS delivers a different IP depending on the visitors location?
I found this explanation how a CDN works. But there is one thing I don't really understand. Let's assume I setup multiple DNS servers at my location and they use the nameserver domains dns1.example....
0
votes
2
answers
1k
views
Avoid dynamic HTML pages on Amazon CloudFront CDN
I am thinking of using CloudFront distribution as CDN to server my images, css and js. I have a CloudFront distribution setup to point to the same directory in the server where my code is, just ...
0
votes
1
answer
1k
views
Running multiple domains and subdomains on Nginx with https (SSL)
I have an Nginx install that needs to run on SSL. My server blocks are as follows for this domain, which force the example.com and www.example.com to be routed to https://example.com.
server {
...
-1
votes
1
answer
88
views
Server/storage choice for very low bandwidth video hosting [duplicate]
I have a unique project where I'm needing host several terabytes of short ~15mb mp4 video files, of which each video will only be viewed once.
Is a CDN recommended here? Or would a basic storage ...
0
votes
1
answer
53
views
Correct architecture for a cdn-fronted image resizing api?
I'm building out the api's for a new service, one of which allows image uploads. New uploads will automatically be resized and several versions created and stored remotely (s3 or azure storage). That ...
2
votes
1
answer
4k
views
How to avoid first byte timeout with nginx
I have an application in RubyOnRails, proxied by a NGINX server that is behind a CDN service. The CDN has a limitation that if the response first byte does not arrive in 60 seconds, the CDN server ...
0
votes
1
answer
585
views
How to use Google Cloud CDN with the Google Blobstore Image Service and Google App Engine?
I'm looking into using Google Blobstore with the Image Service, and possibly Google App Engine for a service I'm building. However, 12¢ per GB outgoing bandwidth is a little pricy. I noticed they have ...
5
votes
3
answers
4k
views
What are the benefits and drawbacks of using ETag vs LastModified as a CDN cache validator?
I'm reading this article on Azure CDN. I can either control caching with:
An ETag
Last Modified
Default heuristics
What are the benefits and drawbacks of the first two choices? Does it matter?
...
3
votes
2
answers
1k
views
Using CDN like Cloudflare with mod_rewrite to save bandwidth
I know CDNs like Cloudflare save bandwidth by caching static files as images, JS, and CSS files.
I have a script that generates images on the fly and its location looks something like this:
http://...
0
votes
1
answer
4k
views
How to disable Last-Modified and ETag headers in a static website hosted on S3 + CloudFront?
Background: there are good reasons to want to disable Last-Modified and ETag headers for some website assets: to prevent browsers sending conditional requests (either using If-Modified-Since or If-...
3
votes
1
answer
1k
views
Azure File Storage & CDN
I have a stage account with files. It is also configured as a share, and is mounted on a Linux server. This part works as expected.
URL to test file in Storage Accounts:
https://[CUT].file.core....
7
votes
1
answer
20k
views
AWS Cloudfront + Load Balancer, url changes from main domain to load balancer subdomain
My setup is as follows:
user types example.com on the browser
request goes to AWS CloudFront, which redirects HTTP to HTTPS, and
forwards the request to the AWS Elastic LoadBalancer
(elb.example.com)
...
-3
votes
1
answer
355
views
Cloudflare or Apache vhost misconfiguration? [closed]
I have setup a website in cloudflare that pointing website3.com to xxx.xxx.xxx.xxx IP address.
In my apache, I have existing website1.com and website2.com vhost (website 1 and 2 are using digital ...
1
vote
0
answers
49
views
How to sign Url on behalf of a certain origin access identity (cloud front)
I want two origin access identities for cloud front (and s3). One that can just view content , and another , that can just put content (and maybe another that can just delete )
I know I can create an ...
3
votes
1
answer
1k
views
Impossible to serve WebP images using CloudFlare?
I want to optimize some images on my site using WebP format.
Webp images are highly compressed jpegs and pngs with the help of algorithm developed in Google.
However, webp images can be displayed ...
1
vote
1
answer
1k
views
How is Cache-Control: max-age affected by intermediate caching?
I am currently serving an HTML page to users with a Cache-Control: max-age=600 header. I believe this allows the users' browsers to cache the page for a maximum of 10 minutes.
I am considering adding ...
1
vote
0
answers
101
views
Smoothwall web proxy VM blocks CSS files from CDNs
We have a Smoothwall web proxy set up as a virtual machine for internet browsing.
When a site hosts CSS files on a CDN (probably any cross-domain request actually) the CSS isn't applied, indicating ...
1
vote
2
answers
5k
views
Can I use Cloudflare CDN/HTTP proxy for SSL-enabled web-site?
I want to use Cloudflare CDN/HTTP proxy for my web-site that already has HTTPS through LetsEncrypt certificate.
I don't want to use Cloudflare's Free SSL certificate as it doesn't work on WindowsXP ...
1
vote
2
answers
5k
views
Can AWS support RTMP based Live Streaming with CloudFront or CloudFormation
As far as i understand reading all these articles:
docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html
docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/...
34
votes
2
answers
41k
views
No Cache-Control Header for files from AWS CloudFront with S3 Origin
We just migrated to Amazon AWS. We currently have an EC2 instance that's working well. It's running Nginx in front and Apache in the back-end. That's running well also. All sites are launched properly ...
2
votes
3
answers
8k
views
Can I use the same SSL certificate on the CDN and the origin
It's pretty straightforward question, I have a certificate issued by DigiCert, already installed it on my origin, and I want to use it for the CDN.
I'm starting to configure Akamai CDN in front of my ...
2
votes
3
answers
335
views
how does AWS S3 bucket Redundant storage works with filepicker/filestack
I am using Filestack https://www.filestack.com/ as fileserver and Amazon S3 as filestorage as complete storage solution for my clients.
Filestack offers CDN (Content Delivery Network) which serves ...
3
votes
1
answer
1k
views
CloudFront CDN breaks due to DirectorySlash behavior of Apache
My CDN domain is set to www.mysite.com, and it reads from origin.mysite.com. mod_dir is enabled on apache, and so any request without a trailing slash is redirected with a 301 to the equivalent URL ...
0
votes
1
answer
270
views
How to make amazon s3 files fast from anywhere in the planet?
I'm working on a project with user created content, users basically upload long mp3 files to the server which can then be played by other users.
Recently users not from europe reported slow "seek ...
1
vote
2
answers
241
views
Does CloudFlare cache MaxCDN resources?
I'm utilizing both CloudFlare and MaxCDN for my website; MaxCDN handles images and scripts while CloudFlare handles HTML pages (in terms of CDN). I'm not using a custom subdomain for MaxCDN (i.e. I'm ...
1
vote
0
answers
86
views
Route content using nginx if a specific condition is met
I have 2 LAN networks which are united w/ IPSec tunnel:
10.10.10.1/24
10.10.20.1/24
One of my internal sites is running on 10.10.10.50, which is serving users heavy content, such as 300-400MB ...
2
votes
2
answers
449
views
AWS CloudFront Limit Origin Access
I am averaging 12,000 page views per day, but my cloudfront is getting around 6 million requests for images and fonts every day. I suppose it is possible that all of these requests are coming from my ...
0
votes
1
answer
37
views
Log access to cached content by 3rd party
The question is pretty much the same as this one: How to log a request to apache access log if it's cached by Varnish
but instead of varnish let's say I am using CloudFlare.
Is there any way to ...
1
vote
0
answers
560
views
Nginx Cache alterntive where two requests can populate large cache files simultaneously?
I am using Nginx as a caching reverse proxy for large files.
It is important to me that the origin server does not have to output more bandwidth than necessary.
So if the download of the file gets ...
0
votes
1
answer
556
views
Can you configure a CDN to cache pages based on the browser language?
Many websites do not have the language or locale set in the URL string. They instead pull this out of the "Accept-Language" HTTP header. Is it possible with CDN's like CloudFlare and CloudFront to ...
0
votes
0
answers
2k
views
DNS load balancing with multiple IPs on the same domain in GoDaddy
Looking for a cheaper solution than amazon CloudFront, I placed two "A" records with different IPs to different servers on the same subdomain in a NameSever managed by GoDaddy in order to achieve some ...
0
votes
2
answers
3k
views
Forward Akamai's True-Client-IP via F5 BigIP
Akamai returns client IP in True-Client-IP header. This can be disabled in Akamai settings so that Akamai will return client IP in HTTP-X-Forwarded-For header, but this will contain multiple IP ...
2
votes
1
answer
3k
views
How to set up AWS Cloudfront for dynamic number of domains for a dynamic site?
THE SETUP
We have a webs/wix/etc-like website management system we are trying to use with CloudFront. It has the following domains and subdomains.
- ourdomain: our main website
- admin.ourdomain: ...
0
votes
1
answer
970
views
Using local server as a part of CDN
I would like to use CDN for my website. But more than 70% of the requests would be from within my own network. so I am planning to use my local server as part of the CDN, so that when somebody from ...
0
votes
0
answers
937
views
How Do I Mask the CDN Domain with My Own Domain Name?
So i've been trying out cloudfront from AWS.
Why is the URL 'example.com' resolving to 'example.com.s3.eu-west-1.amazonaws.com' in the Address Bar? I've tried googling loads of questions with this ...
1
vote
1
answer
2k
views
How do I find the actual domain for an IP addresses in my web log that uses a CDN?
I'm trying to analyze our web access log to report on which organizations are accessing our website. But for many of the IP addresses in the log, the reverse DNS lookup resolves to CDN domain names ...
0
votes
1
answer
66
views
Rewrite subdomains in Nginx
Because I don't want to use CDN anymore I would like to rewrite cdn.example.com to www.example.com. How to do this with Nginx? There is only www.example.com in my server block.
1
vote
0
answers
119
views
Using a Cisco WebVPN with a CDN
We have a set of users who access some of our web applications through WebVPN, however where an application uses resources on a CDN e.g. CSS/JS, the url for the resources is being rewritten by WebVPN ...
10
votes
3
answers
4k
views
How to redirect users to different servers based on their location?
I have a website which is developed by using ASP.NET and MY DB is MySQL. Currently it hosted in USA Servers. But When I try to access it near India dynamic contents are loading too slowly. It is ...
0
votes
0
answers
252
views
How can I find out if the response came from the edge server or the origin (CDN)
Is there a way to find out where the response response came from? From the CDN in Korea or my origin in L.A?
Example1:
Response headers:
Server: Apache
Example2:
Response headers
Server: AkamaiGHost
...
1
vote
0
answers
2k
views
How to fix/troubleshoot AkamaiGHost TCP_Miss and 500 Errors
I have a java application running on a server in South America at the moment, and using Akamai's CDN.
When I check the errors, i sometimes get the error: "HTTP/1.1 503 Service Unavailable" and "500 ...