惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
MyScale Blog
MyScale Blog
博客园 - 【当耐特】
I
InfoQ
腾讯CDC
aimingoo的专栏
aimingoo的专栏
L
LangChain Blog
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
C
Check Point Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
D
Docker
MongoDB | Blog
MongoDB | Blog
量子位
博客园_首页

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind Make content editing more visual: upgraded Editable Regions How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites
Managing digital assets in CloudCannon: a guide to smart ...
2025-02-07 · via CloudCannon Blog

Let's talk about one of the most crucial aspects of website management that often gets overlooked: digital asset management (DAM). If you’re running into storage limits with your Git repository or noticing slower build times, it might be time to level up your asset management game with CloudCannon’s DAM integrations.

Why you should care about DAM Direct link to this section

Git is great. But here’s the thing about Git repositories — they typically max out around 2GB of storage. If you’re working with lots of images, videos, or other media files, you can hit that limit pretty quickly. Plus, having all those assets in your repo can seriously slow down your builds. Not fun!

Enter CloudCannon's DAM integration Direct link to this section

CloudCannon has made it easy to connect with various digital asset management services. Currently, we support:

What’s great about these DAM services is that they do more than just store files. Many of them can add metadata to your assets, provide advanced sorting capabilities, perform on-the-fly image transformations, or serve your assets through a CDN for better performance.

On cloudcannon.com, we use imgix, an image and video processing tool that integrates with your Amazon S3 DAM and CloudCannon. This lets us improve our build times, use the same assets across a range of sites with different Git repositories, serve optimally sized assets depending on a user's device and network connection, and keep our assets private.

Getting started with DAM Direct link to this section

Setting up a DAM with CloudCannon is pretty straightforward. Here’s the basic flow:

  1. First, authenticate your DAM with your Organization:
    • Head to Organization settings
    • Navigate to Files / Assets
    • Click "Authenticate a new DAM"
    • Choose your provider and fill in the details
  2. Then, link it to your sites:
    • Open your site settings
    • Go to Files / Assets
    • Select your authenticated DAM from the dropdown
    • Click "Link DAM"

Now, when you add an image in CloudCannon, you can choose to upload a new image to your DAM, or explore existing images within your DAM.

Here's what it looks like to browse our DAM and add an existing image:

Pro tips for DAM management Direct link to this section

1. Control upload sizes Direct link to this section

Want to prevent massive file uploads? You can set a maximum file size limit in bytes. For example, to cap uploads at 1GB, set it to 1,000,000,000 bytes. Your storage budget will thank you.

2. Custom upload paths Direct link to this section

One of my favorite features is the ability to customize where — and how — your assets get stored. You can set up smart paths like:

paths:
dam_uploads: raw/{date|year}-{date|month}-{date|day}

This organizes uploads by date automatically — super handy for keeping things tidy!

3. Selective access Direct link to this section

Need different asset sources for different parts of your site? You can use the allowed_sources configuration to control which DAMs (and site files) are available in specific editing interfaces. It’s great for maintaining organized workflows.

Making your life easier Direct link to this section

Here are some practical tips for working with DAMs in CloudCannon:

  1. Preview your assets: After setting up your DAM, use the “Open preview” button in the Configuration tab to make sure everything's connected properly.
  2. Lock down uploads: If you need to prevent editors from uploading new assets, you can enable the “Uploads Locked” option. This is particularly useful for maintaining asset consistency.
  3. Relative paths: Consider enabling uploads_use_relative_path if you want your asset references to be relative to the content file they're used in. This can make your content more portable.

Final thoughts Direct link to this section

Moving your assets to a DAM might seem like a big step, but it’s really worth considering if you’re approaching Git storage limits, need better asset organization, want faster build times, or require advanced asset transformation features.

CloudCannon’s integrations make the whole process pretty painless. If you haven’t tried it yet, I’d definitely recommend giving it a shot. And if you want to use a DAM provider that isn’t currently supported, don't hesitate to reach out to us — we’re always looking to expand our integrations!