🎥 PodcastsDesigned in California Makes Its Official Debut(03.09.2026 um 17:59 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🍏 iOS / Mac OSWill Siri AI Speak Hindi? What Apple Has Published for India(11.09.2026 um 05:15 Uhr)
🍏 iOS / Mac OSiPhone Duo Apps Could Make or Break Apple’s Foldable iPhone(11.09.2026 um 05:16 Uhr)
🎥 PodcastsDesigned in California Makes Its Official Debut(03.09.2026 um 17:59 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🍏 iOS / Mac OSWill Siri AI Speak Hindi? What Apple Has Published for India(11.09.2026 um 05:15 Uhr)
🍏 iOS / Mac OSiPhone Duo Apps Could Make or Break Apple’s Foldable iPhone(11.09.2026 um 05:16 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 3 Min Lesezeit
0

Encore Launch Week Day 2: Public Buckets & CDN

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

It's Day 2 of primitive for Encore.go and Encore.ts.



This feature simplifies working with public-facing file storage directly in your application code and adds CDN support for optimal content delivery.










How Object Storage works in Encore



and Encore handles the rest.






Using Public Buckets for simple file sharing



Encore now supports creating public buckets where objects can be accessed directly via HTTP/HTTPS without authentication.

This is useful for serving static assets like images, videos, or other public files.



To create a public bucket, set Public: true in the BucketConfig.



Here's how to do it in Encore.go:




CODE
var PublicAssets = objects.NewBucket("public-assets", objects.BucketConfig{
Public: true,
})






Once configured as public, you can get the public URL for any object using the PublicURL method:




CODE
// Get the public URL for an object
url := PublicAssets.PublicURL("path/to/image.jpg")

// The URL can be used directly or shared publicly
fmt.Println(url) // e.g. https://assets.example.com/path/to/image.jpg






For manual cloud deployments, you just need to provide a provide a base url in the runtime configuration, and Encore handles the rest.



When deploying with for optimal content delivery, using:





  • when using AWS



With Public Buckets, Encore makes managing object storage and public file access simple, powerful, and fully type-safe.






Simple testing in the Development Dashboard



Encore's






Join the Live stream






  • ❤️ Join our Developer Community to ask questions.


  • Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    1 Quelle
    Samsung Taps Mistral AI for On-Premises Chip Manufacturing
    1 Quelle
    CISA’s ChatGPT Incident Exposes a Bigger AI Governance Problem
    1 Quelle
    Beware — these new phishing attacks use a convincing fake Adobe Reader pages to trick victims into installing malware
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Encore Launch Week Day 2: Public Buckets & CDN

    Thematisch verwandte Begriffe: Encore, Launch, Week, Public · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...