CDN

A CDN (content delivery network) is a geographically-distributed network of proxy servers intended to cache and serve resources such as images and video from closer to users, reducing latency and increasing performance.

CDN subscription active
You will receive email notifications for new publications on CDN.
158 Results
  • Tutorial

    Using a CDN to Speed Up Static Content Delivery

    A content delivery network can be a quick and effective solution for improving the scalability and availability of your web sites. By caching static assets on a geographically distributed network of optimized servers,...
    By Hanif Jetha CDN Conceptual Networking
  • Tutorial

    How to Set Up a Scalable Django App with DigitalOcean Managed Databases and Spaces

    Django is a powerful web framework that can help you get your Python application or website off the ground quickly. It includes several convenient features like an object-relational mapper, a Python API, and a...
    By Justin Ellingwood, Hanif Jetha Solutions Django Python Frameworks CDN DigitalOcean Spaces Object Storage Nginx Let's Encrypt PostgreSQL Databases Ubuntu 18.04
  • Tutorial

    How to Speed Up WordPress Asset Delivery Using DigitalOcean Spaces CDN

    In this Solutions guide, we'll demonstrate how to offload your WordPress Media Library and other static assets to DigitalOcean Spaces, and deliver these to end users using the DigitalOcean Spaces CDN.
    By Hanif Jetha CDN Solutions DigitalOcean Object Storage WordPress
  • Tutorial

    What is a CDN?

    A content delivery network (CDN) is a geographically distributed group of servers optimized to deliver static content to end users. This static content can be almost any sort of data, but CDNs are most commonly used t...
    By Brian Boucheron CDN Glossary
  • Question

    Is there a way to block IP ranges on App Platform?

    I would like to block access to my site on App Platform, preferably by Country. Is this possible or do I need to add code to my application to get data from ipstack/maxmind api and do the blocking myself at the app l...
    Accepted Answer: 👋 @littledog It is not possible to do this via App Platform and would require the blocking to occur within your app with data like ipstack/maxmind. I'm not sure we've considered this feature, you could recommend it o...
    1 By littledog CDN DigitalOcean App Platform
  • Question

    Digitalocean CDN, custom domain and Cloudflare SSL

    Hey! We use Digitalocean's spaces with enabled CDN to keep static files. And we decided to try a custom domain. To do that, I have created an Origin SSL certificate in my Cloudflare Dashboard and loaded it to the DO. ...
    Accepted Answer: OK, looks like Cloudflare doesn’t allow “deep” subdomains for non-paid customers. That was the issue. Something like https://developers.cloudflare.com/ssl/edge-certificates/advanced-certificate-manager can help in tha...
    1 By PDVJAM CDN
  • Question

    How to interpret CDN Insights for the App Platform

    Hi there, I am running an App with a PHP backend and JavaScript frontend on the app platform. When looking into the insights, I can interpret the graphs for "CPU %" and "Memory %", but the other three graphs referring...
    Accepted Answer: Hi there @TomHe, Ingress handles the incoming HTTP traffic to your application. You can think of it as the system that handles the requests made to your application and makes sure that the requests reach the correct c...
    1 By TomHe DigitalOcean App Platform CDN
  • Question

    handling uploads from multiple regions

    We have our spaces endpoint set to NYC3 however we have a lot of customers who are using our service from London and are complaining of really slow upload times. What is generally done about this? Is there something t...
    Accepted Answer: Hi there, What you could do in this case is use the free built-in CDN, which is a network of edge servers that deliver content to users. You can follow the steps here on how to enable the CDN for your Spaces here: ht...
    1 By novosel991 DigitalOcean Spaces CDN
  • Question

    SOLVED: Best/Viable WordPress plugin for DO Spaces CDN

    I recently noticed my droplet's storage becoming full (98.8%), not allowing me to do my daily rotating backups and I therefore decided to take the plunge to implement a DO Spaces CDN. All seemed to go well in creating...
    Accepted Answer: SOLVED: After 'Reading The Fantastic Manual (https://www.digitalocean.com/community/tutorials/how-to-store-wordpress-assets-on-digitalocean-spaces)' again, I noticed that I'd incorrectly specified the 'Full URL-path t...
    2 By derrickr CDN WordPress
  • Question

    How to configure a static website from a DO space

    I wanted to see if it anyone has hosted a static website from a DO space using a custom domain. For comparison, I'd like to see how we can achieve this similarly to how you might do this with an S3 bucket: https://doc...
    Accepted Answer: Hey @hakawati, I believe that this is not yet possible out of the box. You could use a small Droplet with Ngnix and upload your static website there. But this is a great idea, sounds like it'd be super useful! It look...
    2 By hakawati CDN DigitalOcean Spaces
  • Question

    How to correctly set up DNS records in Cloudflare?

    Hi, I want you to help me please, I have a problem with Cloudflare and its DNS records, I don't really understand which ones to use and how to configure them. I have my server on a droplet, my domain is on Godaddy, an...
    Accepted Answer: Hi @hcmendez, You'll need to have Cloudflare's Nameservers configured. As soon as you do, you should be able to configure your DNS records. Basically, what it does it hides your A record so that attackers won't be abl...
    2 By hcmendez CDN DNS
  • Question

    Vurtual (.htaccess) Subdomains CORS Issue - No 'Access-Control-Allow-Origin' header

    I use .htaccess mod rewrite rules to redirect any (existing) subdomain URL request to the main website where those URLs are resolved internally: ** RewriteCond %{HTTP_HOST} ^(.).example.com [NC] RewriteRule (.) s...
    Accepted Answer: Ups.... I've managed to figure out the culprit... actually I had some javascript errors in my code that messed up other on-page functionalities. Once I resolved it the font issue and CORS was resolved as well :)
    1 By knezdusan Development Apache CDN Ubuntu 16.04
  • Question

    Connection is not private for Spaces CDN with Certificate from Cloudflare

    Hi, I am using Cloudflare to manager the domain, I add a subdomain cdn.<domain> to spaces cdn by Borrow own certificate, and I created ssl certificate on cloudflare for the this subdomain. However, it gives me the con...
    Accepted Answer: Hi there @imj, What I could suggest is decoding the SSL certificate to make sure that your domain name is correctly defined in there. You could do that with the following command: openssl x509 -in <^>your_certificate...
    1 By imj CDN Security
  • Question

    API to purge file cache from Spaces CDN after file update

    I can't find a non-manual way to purge the cache of a file in the CDN after I update it in Spaces. I feel like this is a common task but I can't find any documentation on it besides the one telling you how to do it ma...
    Accepted Answer: Clarifying @jarland's answer a bit: The Spaces API itself does not have support for purging the CDN's cache, but the DigitalOcean platform API does. The Spaces API was designed to emulate the AWS S3 API so that develo...
    3 By stevenz Caching CDN Ubuntu
  • Question

    Spaces, subdomain, cname - invalid SSL

    Hey there. I'm trying to use spaces for my first time as I like the idea about using it as CDN. However, I'm trying to point my own CDN subdomain to the DO cdn URL. I'm using Cloudflare to manage my domain and I've up...
    Accepted Answer: Got it working now, no idea how but it's working
    2 By ThisUser32 CDN DigitalOcean Spaces DNS Object Storage Security
  • Question

    Receiving 403 from Spaces when accessing private file containing whitespace using AWS SDK

    I am experiences problems accessing files on DigitalOcean Spaces in situations where the target file contains whitespace in its name. The below function works perfectly for private files without whitespace in the file...
    Accepted Answer: Hey there, One thing I recommend trying: explicitly use v2 signatures, as the encoding rules differ from v4 signatures. Should you continue seeing issues, we'll need to dig in further as there is a lot of variation fr...
    1 By emiljj CDN DigitalOcean
  • Question

    Spaces API Errors

    I'm trying to make my own Spaces API client and I'm hitting some snags. I'm trying to access spaces API without having to use AWS SDK as that thing is a beast and I'm aiming to do something much lighter and PHP 7 comp...
    Accepted Answer: I finally got it working correctly, I was doing the canonicalRequest body incorrectly which was causing the issue.
    1 By elomonaco DigitalOcean CDN API PHP
  • Question

    How to Set up Cloudflare DNS with DigitalOcean droplet

    I am trying to set up my domain (DNS on CloudFlare) to point to a DigitalOcean droplet, but I can't seem to get it to work properly. I have an Ubuntu Droplet, running WordPress, and on CloudFlare, I have configured an...
    Accepted Answer: Nevermind, I found a fix elsewhere. Answer from sdayman on the CloudFlare community forums: Having the IP address show up in the browser indicates a problem with your server configuration. You probably need to have Wo...
    1 By ApCoder123 WordPress Networking DNS CDN Ubuntu 18.04 Ubuntu
  • Question

    Are there any plans to share Droplet Transfer Pool with Spaces?

    We're using a very small portion of our monthly droplet transfer pool. We're also planning on using spaces with CDN to serve media content. Since spaces bandwith billing is seperate from droplets it seems cheaper to u...
    Accepted Answer: Hey there, At this time we don't have any plans to merge the bandwidth pools. Spaces do include 1TB/mo of bandwidth that you can use without overage fees. Learn more in our Spaces product docs (https://www.digitalocea...
    1 By beyazarge DigitalOcean Object Storage CDN Billing
  • Question

    Why can't I acces my website through its ip address after setting up CloudFlare?

    I was able to access my website by putting the ip address of my droplet to the web browser. Some time ago I started using cloudflare CDN. Now I am not able to access my website with its ip. I only can visit by using m...
    Accepted Answer: Setting up CloudFlare alone will not have any effect on attempts to connect to your droplet directly. I run several sites using CloudFlare and more than once have mixed up IP addresses between the one that the domain...
    2 By ucanbolat CDN Networking Ubuntu 16.04