You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

XP's avatar
XP
Helpful | Level 5
7 years ago

Can I use Dropbox as a CDN?


  • XP wrote:
    Serve website images from Dropbox by retrieving its image URL with API

    You don't need the API to do this. Just get a share link to the image like you would for any other file type, and then change the end of the URL as explained in this help article (change ?dl=0 to ?raw=1).

     

    Again, as Jay explained, share links have a limited amount of bandwidth per day, and if you're linking to large files it could be very easy to exceed that limit and have ALL of your links banned temporarily. Simply put, while you can serve files out of Dropbox, it is not a CDN and you probably shouldn't use it as one. A CDN is usually a network of servers in different geographical locations so that content is served to the user using the closest source. With Dropbox, the data will all come from the same source (i.e., NOT a true CDN).

      • Rich's avatar
        Rich
        Icon for Super User II rankSuper User II

        XP wrote:
        Serve website images from Dropbox by retrieving its image URL with API

        You don't need the API to do this. Just get a share link to the image like you would for any other file type, and then change the end of the URL as explained in this help article (change ?dl=0 to ?raw=1).

         

        Again, as Jay explained, share links have a limited amount of bandwidth per day, and if you're linking to large files it could be very easy to exceed that limit and have ALL of your links banned temporarily. Simply put, while you can serve files out of Dropbox, it is not a CDN and you probably shouldn't use it as one. A CDN is usually a network of servers in different geographical locations so that content is served to the user using the closest source. With Dropbox, the data will all come from the same source (i.e., NOT a true CDN).

  • RFTaurus's avatar
    RFTaurus
    New member | Level 2

    I'm new when using dropbox, so I read a lot of topic about using dropbox as a CDN, and I find that public folder already remove aroun 2016. so I just wondering, can we still using Dropbox as a CDN in 2020? If I can Use It, can someone give me the tutoria step by step, as I'm quite confused while we can still do it or not.

    just for reference, I'm trying to use it like this:

        <!-- bootsnav -->
        <link rel="stylesheet" href="https://www.dl.dropbox.com/s/q02iyrm4zmhce3y/bootsnav.css">
    
        <!-- style -->
        <link rel="stylesheet" href="https://www.dl.dropbox.com/s/357a8q7wo78hdba/style.css" />

    and I find some topic that tell me to use it like this:

        <!-- bootsnav -->
        <link rel="stylesheet" href="https://www.dropbox.com/s/q02iyrm4zmhce3y/bootsnav.css?raw=1">
    
        <!-- style -->
        <link rel="stylesheet" href="https://www.dropbox.com/s/357a8q7wo78hdba/style.css?raw=1" />

    While the first example give me: ERR_CERT_COMMON_NAME_INVALID

    the last one give me: MIME Error

    • Lusil's avatar
      Lusil
      Icon for Dropbox Staff rankDropbox Staff

      Hey RFTaurus, thanks for nudging us on this. 

       

      Out of curiosity, are the shared links working for you? 

       

      Could you also send us a screenshot of the error message?

       

      Keep us posted!

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!